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

Abandoned → [hankit/laravel-update](/?search=hankit%2Flaravel-update)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

mrcrankhank/laravel-update
==========================

v4.0(4y ago)11.8k1MITPHPPHP &gt;=8.0.2

Since Oct 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Hank-IT/laravel-update)[ Packagist](https://packagist.org/packages/mrcrankhank/laravel-update)[ RSS](/packages/mrcrankhank-laravel-update/feed)WikiDiscussions master Synced 2w 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 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

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

1596d 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/mrcrankhank-laravel-update/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M169](/packages/laravel-ai)[laravel/sail

Docker files for running a basic Laravel application.

1.9k199.2M1.2k](/packages/laravel-sail)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M127](/packages/laravel-mcp)

PHPackages © 2026

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