Docs Installation Upgrading from Previous Versions

Upgrading from Previous Versions

How to safely upgrade CreateCouponWebsite to the latest version.

6 views Updated 3 weeks ago

Upgrading CreateCouponWebsite

Before You Begin

Always back up your database and files before upgrading.

php artisan down

mysqldump -u root -p couponsite > backup.sql

Upgrade Steps

  • Download the latest release from your dashboard
  • Replace all application files (keep your .env and storage/ folder)
  • Run the following commands:

composer install --optimize-autoloader --no-dev

npm install && npm run build

php artisan migrate

php artisan cache:clear

php artisan config:clear

php artisan view:clear

php artisan up

Version-Specific Notes

Check the Changelog page for version-specific migration notes and breaking changes.

If upgrading multiple versions, upgrade one major version at a time for best results.

Was this article helpful?