Laravel Admin's base package, which offers admin authentication and a blank admin panel
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
- 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.
- 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.
Please see CHANGELOG for more information what has changed recently.
// TODO
// TODO
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.