Download the PHP package amir9480/laravel-auto-update without Composer
On this page you can find all versions of the php package amir9480/laravel-auto-update. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amir9480/laravel-auto-update
More information about amir9480/laravel-auto-update
Files in amir9480/laravel-auto-update
Package laravel-auto-update
Short Description Laravel package to update app automatically.
License MIT
Homepage https://github.com/amir9480/laravel-auto-update
Informations about the package laravel-auto-update
Easy update laravel web application
This package help you make update functionality easily.
Installation
Step1: Install the package via composer :
Step2: Publish config files :
Step3: Add APP_VERSION
to .env :
Step4: Upload zip file of your project to your host :
Recommended Directories/files to add to zip file.
- app
- config
- database
- migrations
- public
- resources
- lang
- views
- routes
Step5: Create json information file in your webhost :
Step6: Add json file url to config/laravelautoupdate.php :
Step7: Add javascript code to your views master page :
Do not forget add JQuery before updater script.
Step8: Open your project in browser :
Configuration
middlewares:
Array of middlewares to authorize updates only by admins.
before_update_commands:
Array of commands to run before update. it is recommended to use spatie/laravel-backup and add artisan backup:run
to get backup before update.
after_update_commands:
Array of commands to run after application updated.
Note: If you define command like artisan xx
then Artisan::call
will used otherwise shell_exec
will used to run commands.
read more
enabled:
You can disable updates for one project via add
to .env file.
temp_path:
Path to save downloading zip.
Cusomization.
If you want to translate/customize text:
and then checkout resources/lang/vendor/laravel-auto-update
.
Or if you want to customize styles/scripts:
and then checkout resources/views/vendor/laravel-auto-update
.
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.