backpack / base
Laravel Backpack's base package, which offers admin authentication and a blank admin panel using AdminLTE
Installs: 849 190
Dependents: 11
Suggesters: 0
Security: 0
Stars: 843
Watchers: 56
Forks: 228
Open Issues: 0
Requires
- almasaeed2010/adminlte: 2.4.*
- creativeorange/gravatar: ~1.0
- laravel/framework: 5.8.*|^6.0
- laravel/helpers: ^1.1
- nesbot/carbon: ^2.14.0
- prologue/alerts: ^0.4.1
Requires (Dev)
- backpack/generators: ^1.1
- laracasts/generators: ^1.1
- phpunit/phpunit: ~6.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
- v4.x-dev
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- dev-master / 1.0.x-dev
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.9.12
- 0.9.11
- 0.9.10
- 0.9.9
- 0.9.8
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.9
- 0.8.7
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.25
- 0.7.24
- 0.7.23
- 0.7.22
- 0.7.21
- 0.7.20
- 0.7.19
- 0.7.18
- 0.7.17
- 0.7.16
- 0.7.15
- 0.7.14
- 0.7.13
- 0.7.12
- 0.7.11
- 0.7.10
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.16
- 0.6.15
- 0.6.14
- 0.6.13
- 0.6.12
- 0.6.11
- 0.6.10
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.14
- 0.5.13
- 0.5.12
- 0.5.11
- 0.5.10
- 0.5.9
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.0.2
- 0.0.1
- dev-local-js-assets
- dev-coreui
- dev-tabler-theme
- dev-feature_sidebar_config
- dev-upgrade-backup
- dev-feature-stacks
- dev-publish-minimum-amount-of-files
- dev-jorenvanhee-different-user-model-issue-fix
- dev-allow-login-with-username
- dev-custom-admin-middleware
- dev-html-alerts
- dev-laravel-5.5
- dev-separate-sessions-2
- dev-laravel-54
- dev-laravel-5.4
- dev-enqueue-scripts-styles
- dev-dev-laravel-5.3
- dev-scrutinizer-patch-1
This package is auto-updated.
Last update: 2020-10-14 12:10:43 UTC
README
Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to rule them all.
Laravel Backpack v3.x's central package, which includes:
- admin login interface, using AdminLTE;
- basic menu;
- pretty error pages;
- alerts system (notification bubbles);
Install on Laravel 7.x, 8.x and up
Since September 2019, when we released Backpack 4.x, this package is no longer used. Only Backpack 3.x uses Backpack\Base, and Backpack 3.x will not receive support for Laravel 7.x, 8.x and above. We do encourage you to use Backpack + Laravel 7/8/up, but to do that please use the latest major version of Backpack.
Install on Laravel 6, 5.8, 5.7, 5.6 or 5.5
- 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
User
model:
- 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.
Upgrades
Upgrading from Laravel 5.8 to Laravel 6
- just upgrade your Laravel version and make sure you're running Backpack/Base 1.1.9 or higher;
Upgrading from Laravel 5.7 to Laravel 5.8 (or from Base 1.0 to Base 1.1)
- Upgrade to Laravel 5.8; you might need to change your
backpack/crud
dependency to3.6.*
in yourcomposer.json
; - in your
App\Models\BackpackUser
instead ofTightenco\Parental\HasParent
, please useBackpack\Base\app\Models\Traits\InheritsRelationsFromParentModel
; here's the diff; - in your
app/config/backpack/base.php
please change yourdefault_date_format
anddefault_datetime_format
toDo MMMM YYYY
andDo MMMM YYYY, HH:mm
respectively; - if you've overwritten
inc/head.blade.php
orinc/scripts.blade.php
, please make sure you use the newest version of Bootstrap; they've fixed a security vulnerability (XSS);
Usage
- 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.
Overwriting Functionality
If you need to modify how this works in a project:
- create a
routes/backpack/base.php
file; 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;
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
Officially this package has:
- stopped receiving updates in Sep 2019;
- stopped receiving security updates in Sep 2020;
However, if you discover any security related issues, please email hello@tabacitu.ro and we'll probably push an update nonetheless. Or at least inform people who are still using this version of the vulnerability. We take security seriously, so we'll go above and beyond to make sure our users' admin panels are safe.
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.
Credits
License
Backpack is free for non-commercial use and 69 EUR/project for commercial use. Please see License File and backpackforlaravel.com for more information.
Hire us
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.