2017 © Pedro Peláez
 

library adminlte

image

silex-spear/adminlte

  • Wednesday, April 6, 2016
  • by lebris
  • Repository
  • 2 Watchers
  • 0 Stars
  • 69 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

adminlte

1 - Download composer, (*1)

2 - Create your project based on silex-spear/skeleton, (*2)

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

3 - Move composer.phar to project dir, (*3)

4 - Add adminlte package, (*4)

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, (*5)

6 - Package application, (*6)

./start
vendor/bin/lessc-adminlte

7 - Activate AdminLTE extension, (*7)

In your Application class :, (*8)

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

8 - Use it, (*9)

Edit one of your controller action :, (*10)

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

9 - Refresh your browser and enjoy !, (*11)

The Versions