PHPackages                             hankit/laravel-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. hankit/laravel-update

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

hankit/laravel-update
=====================

v4.0(4y ago)14841MITPHPPHP &gt;=8.0.2

Since Oct 25Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Hank-IT/laravel-update)[ Packagist](https://packagist.org/packages/hankit/laravel-update)[ RSS](/packages/hankit-laravel-update/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (11)Used By (0)

An update solution for Laravel apps
===================================

[](#an-update-solution-for-laravel-apps)

This Laravel package helps you with deploying updates to your application.

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

[](#installation)

```
composer require hankit/laravel-update

```

If you run Laravel &lt;= 5.4, add the service provider to the 'providers' array in config/app.php:

```
LaravelUpdate\UpdateServiceProvider

```

Publish config file

```
php artisan vendor:publish

```

Configure your 'ignore\_dirs' and 'ignore\_files' in `config/update.php`.

Usage
-----

[](#usage)

1. Build your application
2. Call `php artisan update:generate-json-file`, this will generate a json file containing all paths to the files which are part of your current app.
3. Copy your new build over the current deployed application.
4. Call `php artisan update:run`, this generates a second json file with all current files and compares it with the one created in your deployment process. You will get a list of all files which are currently there, but are not part of the update you just deployed (of course you can ignore specific directories). You will then be able to delete the files which are not part of your installation. This prevents any deleted files from libraries lying around in your installation.

> The Update command also migrates the database, clears the cache and puts your app into maintenance mode while updating.

The exact commands are (in this order):

```
php artisan down
php artisan migrate --force
php artisan clear-compiled
php artisan view:clear
php artisan cache:clear
php artisan config:cache
php artisan up

```

##### Deployment process

[](#deployment-process)

```
php artisan update:generate-json-file

```

##### Update

[](#update)

Extract your update over the productive installation

```
php artisan update:run

```

Compatibility
-------------

[](#compatibility)

This package was developed in Laravel 5.5, but should work in older versions as well.

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~196 days

Recently: every ~220 days

Total

9

Last Release

1544d ago

Major Versions

1.2 → 2.02018-03-03

v2.3 → v3.02021-12-01

v3.0 → v4.02022-02-15

PHP version history (3 changes)1.0PHP &gt;=5.6

2.0PHP &gt;=7.0

v4.0PHP &gt;=8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b176c98fc9adff4e01a107cc2076bb217eb9ec964a3470e183866c3d71d7a10d?d=identicon)[AlexH269](/maintainers/AlexH269)

---

Top Contributors

[![AlexH-HankIT](https://avatars.githubusercontent.com/u/6757997?v=4)](https://github.com/AlexH-HankIT "AlexH-HankIT (9 commits)")[![PetzJohannes](https://avatars.githubusercontent.com/u/7239999?v=4)](https://github.com/PetzJohannes "PetzJohannes (3 commits)")

---

Tags

laravelphp-artisanupdate

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

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

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[orchestra/canvas

Code Generators for Laravel Applications and Packages

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

The Illuminate Pipeline package.

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

The Illuminate Pagination package.

10532.5M858](/packages/illuminate-pagination)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)

PHPackages © 2026

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