PHPackages                             laranail/product-updater - 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. laranail/product-updater

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

laranail/product-updater
========================

Self-update engine for licensed Laravel products — checks an update source, downloads and verifies release archives, extracts files, runs migrations and publishes assets. License-gated via laranail/license-verifier.

v0.1.0(1mo ago)00MITPHPPHP ^8.4 || ^8.5CI passing

Since Jul 6Pushed 1mo agoCompare

[ Source](https://github.com/laranail/product-updater)[ Packagist](https://packagist.org/packages/laranail/product-updater)[ Docs](https://opensource.simtabi.com/documentation/laranail/product-updater/)[ RSS](/packages/laranail-product-updater/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (2)Used By (0)

laranail/product-updater
========================

[](#laranailproduct-updater)

[![Latest version on Packagist](https://camo.githubusercontent.com/bb58d0609a5e53442cdeb4d729f641703ed328a7e223d0c9f0b0e71384dbd277/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6172616e61696c2f70726f647563742d757064617465722e737667)](https://packagist.org/packages/laranail/product-updater)[![Tests](https://github.com/laranail/product-updater/actions/workflows/tests.yml/badge.svg)](https://github.com/laranail/product-updater/actions/workflows/tests.yml)[![Static analysis](https://github.com/laranail/product-updater/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/laranail/product-updater/actions/workflows/static-analysis.yml)[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

> License-gated self-update engine for Laravel products — checks an update source (a generic HTTP endpoint or Envato/CodeCanyon), downloads and verifies release archives, then applies them safely (rejects `.env`/corrupt zips, backs up `.env`, runs migrations + asset publishing, clears caches). Refuses to update without a valid license.

Requires PHP `^8.4 || ^8.5`, Laravel `^13`, and [`laranail/license-verifier`](https://opensource.simtabi.com/documentation/laranail/license-verifier/).

Install
-------

[](#install)

```
composer require laranail/product-updater
php artisan vendor:publish --tag=product-updater-config
```

The service provider and the `ProductUpdater` facade are auto-discovered.

Quick start
-----------

[](#quick-start)

Point the updater at your release source and product identity in `.env`:

```
PRODUCT_UPDATER_SOURCE=http          # http | envato
PRODUCT_UPDATER_URL=https://releases.example.com/api
PRODUCT_UPDATER_API_KEY=...
PRODUCT_UPDATER_PRODUCT_ID=my-product
PRODUCT_UPDATER_VERSION=1.2.0
```

Then check and update:

```
php artisan product:update-check     # is a newer release available?
php artisan product:update           # download + verify + apply (refuses when unlicensed)
php artisan product:update-doctor    # diagnose source, license, paths, permissions
```

The canonical command names are `laranail::product-updater.check` / `.update` / `.doctor`; the `product:*` names above are their short aliases.

The pipeline
------------

[](#the-pipeline)

`product:update` runs one guarded pipeline: license gate (via `laranail/license-verifier`) → download to `paths.download` → verify (rejects `.env` files and corrupt zips) → back up `.env` → extract into `paths.base` → optional `migrate` + `publish` steps → cache clear. Every stage fires lifecycle events. See [Architecture](docs/architecture.md).

Documentation
------------------------------------------------------

[](#documentation)

Full documentation is at **[opensource.simtabi.com/documentation/laranail/product-updater](https://opensource.simtabi.com/documentation/laranail/product-updater/)** — getting started, update sources, the safe-apply pipeline, license gating, and configuration.

### Guides

[](#guides)

- [Installation](docs/installation.md) — requirements, install, publishing the config.
- [Getting started](docs/getting-started.md) — configure a source and run your first update.
- [Configuration](docs/configuration.md) — every key in `config/product-updater.php`.
- [Architecture](docs/architecture.md) — how a self-update is checked, verified, and applied.
- [Release](docs/release.md) — versioning and how releases are cut.

### Reference

[](#reference)

- [Commands](docs/tools/commands.md) — `laranail::product-updater.*` and the `product:*` aliases.

Stability
---------

[](#stability)

Semver. The package is on the `0.x` line — minor versions may contain breaking changes until 1.0; pin to a patch range and read the [CHANGELOG](CHANGELOG.md) before upgrading.

Local development
-----------------

[](#local-development)

```
composer install
composer test    # pest
composer lint    # pint + phpstan + rector --dry-run
```

Sister packages
---------------

[](#sister-packages)

The laranail licensing family:

PackageWhat it is[`laranail/license-kit`](https://opensource.simtabi.com/documentation/laranail/license-kit/)Server-side licensing — activation keys, polymorphic assignment, expirations/renewals, seat control.[`laranail/license-verifier`](https://opensource.simtabi.com/documentation/laranail/license-verifier/)Headless, provider-agnostic verification client — PASETO/Ed25519 offline verification, fingerprinting, seats, grace periods.[`laranail/license-verifier-ui`](https://opensource.simtabi.com/documentation/laranail/license-verifier-ui/)UI engine for the verifier — scaffolds owned, themeable preset packages (Blade, Livewire, Filament, Vue).[`laranail/demo-mode`](https://opensource.simtabi.com/documentation/laranail/demo-mode/)License-aware demo / sandbox controller — write guards, feature gating, resets, visitor isolation.Community
---------

[](#community)

Questions, bug reports, and ideas go to [GitHub Issues](https://github.com/laranail/product-updater/issues).

Contributing &amp; security
---------------------------

[](#contributing--security)

Issues and PRs are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md). Report vulnerabilities per [SECURITY.md](SECURITY.md) (); participation follows the [Code of Conduct](CODE_OF_CONDUCT.md).

License
-------

[](#license)

MIT © Simtabi LLC. See [LICENSE](LICENSE).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

50d ago

### Community

Maintainers

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

---

Top Contributors

[![imanimanyara](https://avatars.githubusercontent.com/u/19682005?v=4)](https://github.com/imanimanyara "imanimanyara (1 commits)")

---

Tags

laravellicenseself-updateupdaterlaranail

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/laranail-product-updater/health.svg)

```
[![Health](https://phpackages.com/badges/laranail-product-updater/health.svg)](https://phpackages.com/packages/laranail-product-updater)
```

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k36.9M385](/packages/yajra-laravel-datatables-oracle)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M341](/packages/laravel-ai)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[moonshine/moonshine

Laravel administration panel

1.3k268.2k90](/packages/moonshine-moonshine)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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