This will guide you through upgrading from Backpack 3.5 to 3.6. For upgrading from 3.4 to 3.5 check out the previous upgrade guide.
Update your composer.json
file to require "backpack/crud": "3.6.*"
along with "laravel/framework": "5.8.*"
. Remove backpack/base
from your requirements - backpack/crud will take care of that. Then run composer update
.
In your App\Models\BackpackUser
instead of Tightenco\Parental\HasParent
, please use Backpack\Base\app\Models\Traits\InheritsRelationsFromParentModel
; here's the diff;
In your app/config/backpack/base.php
please change your default_date_format
and default_datetime_format
to Do MMMM YYYY
and Do MMMM YYYY, HH:mm
respectively;
If you've overwritten inc/head.blade.php
or inc/scripts.blade.php
, please make sure you use the newest version of Bootstrap; they've fixed a security vulnerability (XSS);
Run php artisan view:clear
That's it. Thank you for taking the time to upgrade.
Then you'll love our premium add-ons - productivity tools and tons of new features.