silex-spear / adminlte
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Language:HTML
Requires
- almasaeed2010/adminlte: 2.3.2
- fortawesome/font-awesome: ~4.3
- oyejorge/less.php: ~1.7
- twbs/bootstrap: ~3.3
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 !