bytenet/laravel-admin-base

ByteNET Laravel Admin's base package, which offers admin authentication

v0.2.0 2017-03-30 23:53 UTC

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

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

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

  1. Run in your terminal:
$ composer require bytenet/laravel-admin-base
  1. Add the service providers in config/app.php:
ByteNet\LaravelAdminBase\BaseServiceProvider::class,
  1. 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
  1. 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));
  }
  1. [optional] Change values in config/bytenet/base.php to make the admin panel your own. Change menu color, project name, developer name etc.

Usage

  1. Register a new user at yourappname/admin/register
  2. Your admin panel will be available at yourappname/admin
  3. [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.