Upgrade Notes (Laravel 9 -> 10 & Backpack 5 -> 6)
Laravel
https://laravel.com/docs/10.x/upgrade
1. Update package version
https://github.com/yayasanvitka/saint/commit/59c1c7eee9ba0ce9ba41702d04a12333d6aa2803
2. Update minimum-stability in composer.json
https://github.com/yayasanvitka/saint/commit/db51d2e49b59fa3d7dd754f4a472f639f2179c4e
3. Update $dates to $casts
https://github.com/yayasanvitka/saint/commit/66622ead9d09e3eee61fb4bbce805cd32762f057
Backpack
https://backpackforlaravel.com/docs/6.x/upgrade-guide
1. Step 3.2
Choose Tabler and No premium addons
Add basset in filesystems.php
Skip if error
2. Skip step 4-7
3. Skip step 9-15
4. Skip step 22
5. Step 25
Choose No to publish public/packages
6. Custom CSS
Put it into mix_styles in ui.php and webpack.mix.js
7. Update layout to vertical & enable useFluidContainers in theme-tabler.php
https://github.com/yayasanvitka/saint/commit/a58ae10287b071a1c3a49ad17103369daf3ecac3
8. Fix layout.blade.php in resource/views/errors
https://github.com/yayasanvitka/saint/commit/d764e1284460ef577179353b9d716ef4a77094aa
9. Temporary fix for multiple nested menu
https://github.com/yayasanvitka/saint/commit/d35ab9edabcc8a1863706cf0fe715e134a226029
10. Re-install elfinder
rm -rf resources/views/vendor/elfinder
php artisan backpack:filemanager:install
10.11. Re-publish backupmanager
php artisan vendor:publish --provider="Backpack\BackupManager\BackupManagerServiceProvider" --tag=backup-config --tag=lang