PHPackages                             binomeway/laravel-keep-alive - 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. binomeway/laravel-keep-alive

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

binomeway/laravel-keep-alive
============================

Keep your laravel applications through updates.

00[2 PRs](https://github.com/binomeway/laravel-keep-alive/pulls)PHP

Since Jul 3Pushed 2y agoCompare

[ Source](https://github.com/binomeway/laravel-keep-alive)[ Packagist](https://packagist.org/packages/binomeway/laravel-keep-alive)[ RSS](/packages/binomeway-laravel-keep-alive/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Keep your laravel applications through updates.
===============================================

[](#keep-your-laravel-applications-through-updates)

[![Latest Version on Packagist](https://camo.githubusercontent.com/679b6a0df9a93e421b3d428be764175f740a646b40f9113f4704bf5da73b84c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696e6f6d657761792f6c61726176656c2d6b6565702d616c6976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binomeway/laravel-keep-alive)[![GitHub Tests Action Status](https://camo.githubusercontent.com/77c3a791cec686a4a4bc296b7209908ed8cea8366400a04202519adf584e240c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62696e6f6d657761792f6c61726176656c2d6b6565702d616c6976652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/binomeway/laravel-keep-alive/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/7f22e62e2ba78288318733212306223d78a250472c378c1a099bc57a9aa5bb17/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62696e6f6d657761792f6c61726176656c2d6b6565702d616c6976652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/binomeway/laravel-keep-alive/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4851fedc5761900b47f915e3007f8f5d230597cca10a5fc673729e48cbaaf4c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696e6f6d657761792f6c61726176656c2d6b6565702d616c6976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binomeway/laravel-keep-alive)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require binomeway/laravel-keep-alive
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-keep-alive-config"
```

This is the contents of the published config file:

```
return [
    /**
     * This represents the latest version of the application
     * Whenever the app requires to run updates, bump this version.
     */
    'version' => '0.0.0',

    'repository' => \BinomeWay\KeepAlive\Repositories\FileRepository::class,

    'install' => [
        RunMigrationsAction::class,
        SummaryAction::class,
    ],

    'updates' => [
        //  '1.0.0' => [Update100::class], // or just the class Update100::class
    ],

];
```

Usage
-----

[](#usage)

Keep Alive extends the about command showing details about the app version state.

```
php artisan about
```

To install the application use `app:install`

```
php artisan app:install
```

To run updates use `app:update`

```
php artisan app:update
```

### Extending

[](#extending)

Keep Alive can be used outside of a console context too.

For example if you want to call the install or update function you can use the Installer and Updater facades.

```
use BinomeWay\KeepAlive\Facades;

function someMethod() {

    $result = Facades\Installer::run();

    // or same with Updater...

    $result = Facades\Updater::run();

    if($result->isSuccessful()) {
        // do something
        echo $result->message();
    }

}
```

### Repositories

[](#repositories)

In order to persist the app's version you can use one of the default repositories or implement your own

Default repositories:

- `FileRepository` (Default)
- `CacheRepository`
- `RedisRepository` (TODO)
- `EnvRepository` (TODO)

Testing
-------

[](#testing)

```
composer test
```

Roadmap
-------

[](#roadmap)

- Add support for prerequisites for Installer and Updater
- Add database transactions feature flag
- Add support to separate actions for each environment
- Add RedisRepository
- Add EnvRepository
- Add Filament extension
- Add Install/Update UI extension

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Codrin Axinte](https://github.com/codrin-axinte)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f68765a77418f8056ef39ed2491f2b2b544a58166a462bf3d5f1332d539241d4?d=identicon)[codrin-axinte](/maintainers/codrin-axinte)

---

Top Contributors

[![codrin-axinte](https://avatars.githubusercontent.com/u/6564791?v=4)](https://github.com/codrin-axinte "codrin-axinte (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

### Embed Badge

![Health badge](/badges/binomeway-laravel-keep-alive/health.svg)

```
[![Health](https://phpackages.com/badges/binomeway-laravel-keep-alive/health.svg)](https://phpackages.com/packages/binomeway-laravel-keep-alive)
```

PHPackages © 2026

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