giaphiep / admin
Admin Template Metro
Installs: 62
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: ~5.6|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: >=5.4.3
- squizlabs/php_codesniffer: ^2.3
README
Admin template
Install
Via Composer
$ composer require giaphiep/admin
Usage
- In configs/app.php file, add the following to the providers array (optional in version 5.5)
GiapHiep\Admin\AdminServiceProvider::class,
- In Kernel.php file, add the following to the routeMiddleware array
'admin.guest' => \GiapHiep\Admin\Middleware\RedirectIfAdminAuthenticated::class, 'admin.auth' => \GiapHiep\Admin\Middleware\AdminAuthenticate::class,
- Run
$ php artisan vendor:publish $ php artisan migrate $ php artisan db:seed --class=UsersTableSeeder
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email hiep.giapvan@gmail.com instead of using the issue tracker.
Credits
- [Giáp Hiệp][https://giaphiep.com]
License
The MIT License (MIT). Please see License File for more information.