Laravel BackPack's central package, which includes:
- admin login interface, using AdminLTE;
- basic menu;
- pretty error pages;
- alerts system (notification bubbles);
Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.
- Run in your terminal:
composer require backpack/base
php artisan backpack:base:install- Make sure the reset password emails have the correct reset link by adding these to your
Usermodel:
- before class name
use Backpack\Base\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/backpack/base.php to make the admin panel your own. Change menu color, project name, developer name etc.
- Upgrade to Laravel 5.8; you might need to change your
backpack/cruddependency to3.6.*in yourcomposer.json; - in your
App\Models\BackpackUserinstead ofTightenco\Parental\HasParent, please useBackpack\Base\app\Models\Traits\InheritsRelationsFromParentModel; here's the diff; - in your
app/config/backpack/base.phpplease change yourdefault_date_formatanddefault_datetime_formattoDo MMMM YYYYandDo MMMM YYYY, HH:mmrespectively; - if you've overwritten
inc/head.blade.phporinc/scripts.blade.php, please make sure you use the newest version of Bootstrap; they've fixed a security vulnerability (XSS);
- Register a new user at yourappname/admin/register
- Your admin panel will be available at yourappname/admin or yourappname/login
- [optional] If you're building an admin panel, you should close the registration. In config/backpack/base.php look for "registration_open" and change it to false.
If you need to modify how this works in a project:
- create a
routes/backpack/base.phpfile; the package will see that, and load your routes file, instead of the one in the package; - create controllers/models that extend the ones in the package, and use those in your new routes file;
- modify anything you'd like in the new controllers/models;
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.
Backpack is free for non-commercial use and 49 EUR/project for commercial use. Please see License File and backpackforlaravel.com for more information.
We've spend more than 50.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels so much, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.
If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience & enthusiasm for this. This is what we do. Contact us. Let's see if we can work together.

