giaphiep/admin

Admin Template Metro

1.14 2017-11-24 16:08 UTC

This package is not auto-updated.

Last update: 2024-04-28 01:34:47 UTC


README

Admin template

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Install

Via Composer

$ composer require giaphiep/admin

Usage

  1. In configs/app.php file, add the following to the providers array (optional in version 5.5)
GiapHiep\Admin\AdminServiceProvider::class,
  1. 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,
  1. 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

License

The MIT License (MIT). Please see License File for more information.