bytenet / laravel-admin-base
ByteNET Laravel Admin's base package, which offers admin authentication
v0.2.0
2017-03-30 23:53 UTC
Requires
- php: >5.5.0
- almasaeed2010/adminlte: ^2.3
- doctrine/dbal: ^2.5
- illuminate/support: ~5.4
- laravel/framework: 5.4.*
Requires (Dev)
- phpunit/phpunit: 5.*
This package is not auto-updated.
Last update: 2024-10-26 20:15:26 UTC
README
Laravel Admin's base package, which offers admin authentication and a blank admin panel
Base
Laravel AdminBase central package, which includes:
- a customized version of Laravel's authentication interface; // TODO
- basic user management page (edit password, name, email);
- basic admin dashboard page; // TODO
- pretty error pages; // TODO
- admin-wide alerts system (notification bubbles); // TODO
- roles / permissions; // TODO
Install on Laravel 5.4
- Run in your terminal:
$ composer require bytenet/laravel-admin-base
- Add the service providers in config/app.php:
ByteNet\LaravelAdminBase\BaseServiceProvider::class,
- Then run a few commands in the terminal:
$ rm -rf app/Http/Controllers/Auth
$ php artisan vendor:publish --provider="ByteNet\LaravelAdminBase\BaseServiceProvider"
$ php artisan migrate
- Make sure the reset password emails have the correct reset link by editing the adding these to your
User
model:
- before class name
use ByteNet\LaravelAdminBase\app\Notifications\ResetPasswordNotification as ResetPasswordNotification;
- as a method inside the User class:
/** * Send the password reset notification. * * @param string $token * @return void */ public function sendPasswordResetNotification($token) { $this->notify(new ResetPasswordNotification($token)); }
- [optional] Change values in config/bytenet/base.php to make the admin panel your own. Change menu color, project name, developer name etc.
Usage
- Register a new user at yourappname/admin/register
- Your admin panel will be available at yourappname/admin
- [optional] If you're building an admin panel, you should close the registration. In config/bytenet/base.php look for "registration_open" and change it to false.
Change log
Please see CHANGELOG for more information what has changed recently.
Todos
// TODO
Testing
// TODO
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email zexbre1@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.