silex-spear/adminlte

There is no license information available for the latest version (0.0.3) of this package.

0.0.3 2016-03-25 21:36 UTC

This package is not auto-updated.

Last update: 2024-10-26 18:28:11 UTC


README

1 - Download composer

2 - Create your project based on silex-spear/skeleton

php composer.phar create-project silex-spear/skeleton myProject dev-master

3 - Move composer.phar to project dir

4 - Add adminlte package

composer require niktux/adminlte 0.0.2

5 - Merge assetic conf : add vendor/niktux/adminlte/config/assetic.yml-dist.example content into config/assetic.yml-dist

6 - Package application

./start
vendor/bin/lessc-adminlte

7 - Activate AdminLTE extension

In your Application class :

  $this->register(new \Spear\AdminLTE\Provider());

8 - Use it

Edit one of your controller action :

    return $this->twig->render('admin/home.twig', [
        'shortTitle' => 'SSA',
        'title' => 'Silex Spear Admin'
    ]);

9 - Refresh your browser and enjoy !