yii2-foundation The most advanced responsive front-end framework in the world.

  1. Requirements
  2. Installation
  3. Setup Assets
  4. Icon Bar
  5. Resources

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.

Foundation Website

  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

Foundation Documentation

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'],
        ],
    ],
]);

Resources

Github

Author

0 0
5 followers
0 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Developed by: Linchpin
Created on: Jul 10, 2014
Last updated: 9 years ago

Related Extensions