The update script:
- Downloads the latest release from GitHub (the version change is printed, like
1.0.0 -> 1.1.0).
- Copies it over
/opt/laravelify, keeping your .env, database, storage/, and vendor/.
- Runs
composer install, clears caches, and runs database migrations.
- Restarts the queue worker and the scheduler so they load the new code.
Your websites keep running during the update; only the panel restarts its own workers.
Updating with the install command
Running the install command on a server that already has Laravelify does the same update, and nothing else. It asks Update Laravelify only? [Y/n] and leaves the installed packages alone.
Update to a specific version
This also works for going back to an older release. Migrations that already ran are not undone.
Release notes
Every release is on the GitHub releases page with its changes. The panel shows its version next to GitHub in the sidebar.
If an update fails halfway, run it again. Each step is safe to repeat.