Friday, March 14, 2014

Admin Panel for Laravel 4

Laravel 4 package used to provide an admin panel with user, groups and permissions management.


Features


  • Cartalyst Sentry package

  • Anahkiasen Former package

  • Twitter Bootstrap 2.3.1

  • Font-awesome 3.2.0

  • Users, Groups and Permissions out of the box.

  • Base controller for admin panel development

  • Most of the views can be replaced by your own in the config file

Installation


Begin by installing this package through Composer. Edit your project’s composer.json file to require stevemo/cpanel.



"require":
"stevemo/cpanel": "dev-develop"


 


Update your packages with composer update or install with composer install.


You need to add the following service provider. Open app/config/app.php, and add a new items to the providers array.


Former\FormerServiceProvider
Cartalyst\Sentry\SentryServiceProvider
Stevemo\Cpanel\CpanelServiceProvider

 


Then add the following Class Aliases


'Former' => 'Former\Facades\Former',
'Sentry' => 'Cartalyst\Sentry\Facades\Laravel\Sentry',

 


Finally run the following command in the terminal. php artisan cpanel:install This will publish the config files for Cartalyst/Sentry, Anahkiasen/Former and Stevemo/Cpanel also it will run the migration.


To create a user simply do php artisan cpanel:user


Done! Just go to http://localhost/admin to access the admin panel.


Download Admin Panel for Laravel 4



Admin Panel for Laravel 4

No comments:

Post a Comment