Update Laravel to 7
- We highly recommend to back up your application and database before proceeding with the update process.
- Laravel 7 requires PHP 7.2 as a minimum version so please make sure you have the right version on both console and frontend.
- Download your platform zip file from the download section under your account.
- extract the zip package to your www-root folder
- run composer update by executing the command:
composer update
4. Update your Modules and themes by running the commands below
php artisan corals:modules --action=update --type=core --module_name=all --force=true --skip_download=true --ignore_backup_message=true php artisan corals:modules --action=update --type=module --module_name=all --force=true --skip_download=true --ignore_backup_message=true php artisan corals:modules --action=update --type=payment --module_name=all --force=true --skip_download=true --ignore_backup_message=true
5. make sure to clear cache including main. config and view caches.
php artisan config:clear php artisan cache:clear php artisan view:clear
That’s it 🙂