PHPackages                             alimi7372/upgradetor - 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. [CLI &amp; Console](/categories/cli)
4. /
5. alimi7372/upgradetor

ActiveLibrary[CLI &amp; Console](/categories/cli)

alimi7372/upgradetor
====================

a package for upgrade a application when it was live and have some change or required runnung console command

v1.0.13(2y ago)2585PHPPHP ^8.0

Since May 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Alimohammadi20/laravel-upgradator)[ Packagist](https://packagist.org/packages/alimi7372/upgradetor)[ RSS](/packages/alimi7372-upgradetor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (15)Used By (0)

Laravel Upgradator Package
==========================

[](#laravel-upgradator-package)

A Easy way to upgrade your laravel application when the application on production mode

Install
=======

[](#install)

To get started with LaravelUpgradetor, use Composer to add the package to your project's dependencies:

```
composer require alimi7372/upgradetor

```

After that you should run laravel `migrate` command:

```
php artisan migrate

```

Usage
=====

[](#usage)

You can now add new version to keep your main database records changes or run commands or command after update your project:

```
php artisan version:make yourVersion

```

For example:

```
php artisan version:make 1.0.0

```

You can write your script to run after update in versioning file on `your-project-path/versions`. Versioning File:

```
namespace Alimi7372\Upgradetor\Versions;

use Alimi7372\Upgradetor\Upgrade;

return new class extends Upgrade
{
    protected string $description = "description to explain your change";
    protected string $date = "2023-04-04 10:22";
    protected string $version = "1.0.0";

    public function up()
    {
        // TODO: Implement up() method.
    }

    public function down()
    {
        // TODO: Implement down() method.
    }
};

```

You have tow methods in versioning files for upgrade and downgrade . You should write your script to run and upgrade in `up` method and wtire script to downgrade in `down` method. You can set description and comment on your version in variable `$description` on top of versioning file.

Upgrade
=======

[](#upgrade)

For run upgrade scripts in versioning files you should run below command:

```
php artisan version:upgrade

```

You can run specific versioning upgrade script with add version at end:

```
php artisan version:upgrade 1.0.0

```

Downgrade
=========

[](#downgrade)

For run downgrade scripts in versioning files you should run below command:

```
php artisan version:downgrade

```

You can run specific versioning downgrade script with add version at end:

```
php artisan version:downgrade 1.0.0

```

❤️ Open-Source Software - Give ⭐️
---------------------------------

[](#️-open-source-software---give-️)

I have included the awesome `symfony/thanks` composer package as a dev dependency. Let your OS package maintainers know you appreciate them by starring the packages you use. Simply run `composer thanks` after installing this package. (And not to worry, since it's a dev-dependency it won't be installed in your live environment.)

License
-------

[](#license)

Laravel-Upgradator is open-sourced software licensed under the MIT License (MIT). Please see [License File](LICENSE.md) for more information.

 **Made with ❤️**

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~24 days

Recently: every ~76 days

Total

14

Last Release

800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85cf70e82e989a5453ff0c754d7f00cb67044cf89ab8ef162fae8865c200cd65?d=identicon)[Alimohammadi20](/maintainers/Alimohammadi20)

---

Top Contributors

[![Alimohammadi20](https://avatars.githubusercontent.com/u/74608056?v=4)](https://github.com/Alimohammadi20 "Alimohammadi20 (28 commits)")

### Embed Badge

![Health badge](/badges/alimi7372-upgradetor/health.svg)

```
[![Health](https://phpackages.com/badges/alimi7372-upgradetor/health.svg)](https://phpackages.com/packages/alimi7372-upgradetor)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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