version update
- View current version
- Update to the latest version
- Update to development version
- Update the specified version
- Precautions
View current version
composer show open-admin-org/open-admin
Update to the latest version
composer require open-admin-org/open-admin
Update to development version
composer require open-admin-org/open-admin:dev-main
Update the specified version
composer require open-admin-org/open-admin: 1.0.1
Precautions
Since the front-end resources of each version may be modified, you need to run the following commands after the update.
// Force to publish release assets files
php artisan vendor:publish --tag=open-admin-assets --force
// Force to publish release lang files
php artisan vendor:publish --tag=open-admin-lang --force
// Clean up the view cache
php artisan view:clear
Finally, don't forget to clean up the browser cache.