PHPackages                             alwathan/laraupdater - 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. alwathan/laraupdater

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

alwathan/laraupdater
====================

laravel self-update

v2.1(5y ago)056↓83.3%MITPHP

Since Jul 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alwathan/laraupdater)[ Packagist](https://packagist.org/packages/alwathan/laraupdater)[ RSS](/packages/alwathan-laraupdater/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

LaraUpdater - Laravel App Self Updater From Github Repository
=============================================================

[](#laraupdater---laravel-app-self-updater-from-github-repository)

This package provides some basic methods to implement a self updating from Github private repository functionality for your Laravel 7 application.

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

[](#compatibility)

- PHP: 7.3 &amp; 7.4
- Laravel: 7.x

Install
-------

[](#install)

To install the latest version from the master using [Composer](https://getcomposer.org/):

```
$ composer require alwathan/laraupdater
```

Add Service Provider
--------------------

[](#add-service-provider)

Add new provider to the providers array of `config/app.php`:

```
'providers' => [
    // ...

    /*
     * Package Service Providers...
     */
    Alwathan\LaraUpdater\LaraUpdaterServiceProvider::class,

    // ...
],
```

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

[](#configuration)

After installing the package you need to publish the configuration file via

```
$ php artisan vendor:publish --provider="Alwathan\LaraUpdater\LaraUpdaterServiceProvider"
```

**Note:** Please enter correct value for vendor and repository name in your `config/laraupdater.php`.

### ℹ️ Setting the currently installed version

[](#information_source-setting-the-currently-installed-version)

Before starting an update, make sure to set the version installed correctly. You're responsible to set the current version installed, either in the config file or better via the env variable `APP_VERSION`.

Setting in `config/laraupdater.php`

```
return [
    'app_version'               => env('APP_VERSION', 'v2.0'),
    'github' => [
        'vendor'                    => env('GITHUB_VENDOR','vendor'),
        'repository'                => env('GITHUB_REPOSITORY','repository'),
        'personal_access_token'     => env('GITHUB_PERSONAL_ACCESS_TOKEN','token_access'),
    ],
];
```

### Example to Execute LaraUpdater

[](#example-to-execute-laraupdater)

`localhost:8000/laraupdater`

Licence
-------

[](#licence)

The MIT License (MIT). Please see [Licence file](LICENSE) for more information.

[![Buy Me A Coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/alwathan)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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 ~1 days

Total

3

Last Release

2128d ago

Major Versions

v1.1 → v2.12020-07-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16916624?v=4)[alwathan](/maintainers/alwathan)[@alwathan](https://github.com/alwathan)

### Embed Badge

![Health badge](/badges/alwathan-laraupdater/health.svg)

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

PHPackages © 2026

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