ByteNet-Serbia / laravel-admin-base by bytenet

ByteNET Laravel Admin's base package, which offers admin authentication
13
0
2
Package Data
Maintainer Username: bytenet
Maintainer Contact: office@bytenet.rs (Nikola Zeravcic)
Package Create Date: 2017-03-30
Package Last Update: 2017-03-30
Language: PHP
License: MIT
Last Refreshed: 2024-03-24 03:06:23
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

ByteNet\LaravelAdminBase

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.