Download the PHP package firalabs/firadmin without Composer
On this page you can find all versions of the php package firalabs/firadmin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package firadmin
!!! DEPRECATED !!!
This package is no longer actively maintained. The next version of Laravel 5 should propably contain all basic stuff you need to start a admin panel.
Firadmin
Laravel 4 package used to create a beautiful admin panel with default user managment. This package is currently under active development, following Laravel 4.
Features
- Resourceful User management with roles permissions
- Base controller use for admin panel development
- ACL component for privilege management
- Complete UI admin panel using Twitter Bootstrap 2.3
- Complete login component with password reset and reminder
- Easily configurable
Installation
For laravel 4.0 use firadmin version 1.0. and for laravel 4.1 use firadmin version 1.1. and above.
Begin by installing this package through Composer. Edit your project's composer.json
file to require firalabs/firadmin
.
Update your packages with composer update
or install with composer install
.
Once this operation completes, you need to add the service provider. Open app/config/app.php
, and add a new item to the providers array.
Documentation
- Screenshots
- Configurations
- Binding models
- Migrations
- Create default user
- Register dashboard controller
- Facades
- Permissions
- Ajax request
- Admin controller development
- Custom models repositories
Screenshots
Configurations
To configure the package to meet your needs, you must publish the configuration in your application before you can modify them. Run this artisan command.
The configuration files could now be found in app/config/packages/firalabs/firadmin
. Read the description for each configurations to know what you can override.
Binding models
You need to bind a user and a user role model to your application. By default, the package already provide those. Add this few lines in app/start/global.php
After that, you must set the same user repository has a model in app/config/auth.php
Migrations
If you use the default models provided in the package, you must run this migration commands.
Create default user
You need to have at least one register user in your database. We provided a easy way to create a user using artisan command. Use --role=""administrator""
when setting up a user for the first time.
You can also change the role names Firadmin checks on app/config/packages/firalabs/firadmin/config.php
.
Register dashboard controller
You must set a route to the dashboard admin panel in app/routes.php
. We provide a default dashboard controller for testing purpose.
Facades
We have two available facades:
- Permissions
- AjaxRequest
You can add this facade to your file.
Permissions
To handle privileges on the current logged user, simply use this code in your controller action method..
Ajax Request
Documentation coming soon ...
Admin controller development
When you want to create a new admin controller, simply extend the BaseController provide in the package. Is a example of a dashboard controller create in the folder app/controllers/Admin/DashboardController.php
Custom models repositories
You can directly extend those in the packages or simply implement the interfaces provided in .
Enjoy !!
You admin panel is now configured. Just go to http://localhost/admin to access the admin panel.
Feel free to contact me !!!
All versions of firadmin with dependencies
illuminate/support Version ~4.1
laravelbook/ardent Version dev-master
illuminate/auth Version ~4.1
zendframework/zend-permissions-acl Version 2.1.*