PHPackages                             amir9480/laravel-auto-update - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amir9480/laravel-auto-update

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

amir9480/laravel-auto-update
============================

Laravel package to update app automatically.

0.0.4(6y ago)8205MITPHPPHP ^7.1

Since Apr 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/amir9480/laravel-auto-update)[ Packagist](https://packagist.org/packages/amir9480/laravel-auto-update)[ Docs](https://github.com/amir9480/laravel-auto-update)[ RSS](/packages/amir9480-laravel-auto-update/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (5)Used By (0)

Easy update laravel web application
===================================

[](#easy-update-laravel-web-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/939663590affe8773035d11fc0bf6477f2114d32f00746a5d154dc00c41c3b37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d6972393438302f6c61726176656c2d6175746f2d7570646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amir9480/laravel-auto-update)[![Total Downloads](https://camo.githubusercontent.com/e9a9dc75b8da4943305f4e33da5440bed1e706b849c51376119a1e7f64ea33bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d6972393438302f6c61726176656c2d6175746f2d7570646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amir9480/laravel-auto-update)

This package help you make update functionality easily. [![laravel auto update](./screenshots/screenshot1.jpg)](./screenshots/screenshot1.jpg)[![laravel auto update](./screenshots/screenshot2.jpg)](./screenshots/screenshot2.jpg)

Installation
------------

[](#installation)

### Step1: Install the package via composer :

[](#step1-install-the-package-via-composer-)

```
composer require amir9480/laravel-auto-update
```

### Step2: Publish config files :

[](#step2-publish-config-files-)

```
php artisan vendor:publish --provider=LaravelAutoUpdate\LaravelAutoUpdateServiceProvider --tag=config
```

### Step3: Add `APP_VERSION` to .env :

[](#step3-add-app_version-to-env-)

```
...
APP_URL=http://localhost
APP_VERSION=1.0.0
...
```

### Step4: Upload zip file of your project to your host :

[](#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 :

[](#step5-create-json-information-file-in-your-webhost-)

```
{
    "version": "1.0.1", // Your uploaded zip version
    "file": "test.zip" // Your zip file name or url of zip file
}
```

### Step6: Add json file url to config/laravelautoupdate.php :

[](#step6-add-json-file-url-to-configlaravelautoupdatephp-)

```
'info_file' => 'http://github.com/test.json',
```

### Step7: Add javascript code to your views master page :

[](#step7-add-javascript-code-to-your-views-master-page-)

```

```

Do not forget add JQuery before updater script.

### Step8: Open your project in browser :

[](#step8-open-your-project-in-browser-)

[![laravel auto update](./images/screenshot1.jpg)](./images/screenshot1.jpg)

Configuration
-------------

[](#configuration)

### middlewares:

[](#middlewares)

Array of middlewares to authorize updates only by admins.

### before\_update\_commands:

[](#before_update_commands)

Array of commands to run before update. it is recommended to use [spatie/laravel-backup](https://github.com/spatie/laravel-backup) and add `artisan backup:run` to get backup before update.

### after\_update\_commands:

[](#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](https://laravel.com/docs/5.8/artisan#programmatically-executing-commands)

### enabled:

[](#enabled)

You can disable updates for one project via add

```
LARAVEL_AUTO_UPDATE_ENABLED=false
```

to .env file.

### temp\_path:

[](#temp_path)

Path to save downloading zip.

Cusomization.
-------------

[](#cusomization)

If you want to translate/customize text:

```
php artisan vendor:publish --provider=LaravelAutoUpdate\LaravelAutoUpdateServiceProvider --tag=translations
```

and then checkout `resources/lang/vendor/laravel-auto-update`.

Or if you want to customize styles/scripts:

```
php artisan vendor:publish --provider=LaravelAutoUpdate\LaravelAutoUpdateServiceProvider --tag=views
```

and then checkout `resources/views/vendor/laravel-auto-update`.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

4

Last Release

2549d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59c159f932c988eff73d2c70af196d72a75acee87205a0c942060598877f94c6?d=identicon)[amir9480](/maintainers/amir9480)

---

Top Contributors

[![amir9480](https://avatars.githubusercontent.com/u/16279288?v=4)](https://github.com/amir9480 "amir9480 (6 commits)")[![ebrahimfallah](https://avatars.githubusercontent.com/u/46426270?v=4)](https://github.com/ebrahimfallah "ebrahimfallah (1 commits)")

---

Tags

amir9480laravel-auto-update

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/amir9480-laravel-auto-update/health.svg)

```
[![Health](https://phpackages.com/badges/amir9480-laravel-auto-update/health.svg)](https://phpackages.com/packages/amir9480-laravel-auto-update)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
