Yii2 Extension for Foundation front end Framework.
Foundation is a fast and easy to use front end framework for any device. Fully responsive and great for all projects.
Still in development: More widgets are on their way.
Requirements ¶
Yii 2.*
Installation ¶
Composer: ¶
1) Add to your composer.json ~~~ "require": { // ... "linchpinstudios/yii2-foundation": "*", // ... }, ~~~
2) Run ~~~ php composer.phar update ~~~
Setup Assets ¶
Add to your Assets/AppAssets.php ~~~ public $depends = [ // ... 'linchpinstudios\foundation\FoundationAssets', // ... ]; ~~~
Icon Bar ¶
1) Include namespace
use linchpinstudios/foundation/IconBar
2) Setup output
echo IconBar::widget([
'direction' => 'vertical',
'labelRight' => true,
'icons' => [
'items' => [
['label' => 'One', 'url' => '/', 'icon' => 'fi-address-book'],
['label' => 'Two', 'url' => '#', 'icon' => 'fi-alert'],
],
],
]);
Gread piece of work !!!
I really appreciate!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.