PHPackages                             pinoox/pinroll - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. pinoox/pinroll

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

pinoox/pinroll
==============

Pinroll — atomic release rollout, rollback, and PinGate delivery for Pinoox

1.1.4(2w ago)216MITPHPPHP ^8.2

Since Jul 10Pushed 6d agoCompare

[ Source](https://github.com/pinoox/pinroll)[ Packagist](https://packagist.org/packages/pinoox/pinroll)[ RSS](/packages/pinoox-pinroll/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (10)Versions (6)Used By (0)

Pinroll — Release Rollout Engine
================================

[](#pinroll--release-rollout-engine)

**Pinroll** (`pinoox/pinroll`) **1.5.0** — atomic release rollout, rollback, PinGate delivery, and blank-host provision for Pinoox.

ConceptMeaning**Host**Where to deploy (`production`, `staging`, …)**Bundle**What to ship (auto-detect apps, or `--bundle=…`)**Transport**How to send (`ftp`, `ssh`, `pinion`, `local`)**PinGate**One public file `pingate.php` for install / status / rollback / vendor extractDocumentation
-------------

[](#documentation)

Full guides (setup, hosts, retention, rollback, CLI):

- [Pinroll — release &amp; deploy](https://github.com/pinoox/docs/blob/master/en/deploy/pinroll.md) (EN)
- [Pinroll — انتشار و دیپلوی](https://github.com/pinoox/docs/blob/master/fa/deploy/pinroll.md) (FA)
- [Pinroll overview](https://github.com/pinoox/docs/blob/master/en/advanced/pinroll.md)

Install
-------

[](#install)

CLI on the **dev machine** (recommended):

```
composer require --dev pinoox/pinroll
```

The host does **not** need Pinroll in `vendor/`. `pingate.php` applies releases with pincore (`pinx:install` / `pinx:update`) and Pinion.

Put Pinroll in `require` only if you want PinGate to use Pinroll classes on the server.

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

[](#quick-start)

```
php pinoox pinroll:init
# fill FTP/SSH in .pinoox/pinroll.config.php or .env
php pinoox pinroll:provision          # first install on empty FTP
# later:
php pinoox pinroll:connect
php pinoox pinroll:apps
php pinoox pinroll:deploy --full      # platform + every installed app
```

StepCommandWhat it does1`pinroll:init`Scaffold `.pinoox/pinroll.config.php`2Edit `.env`Set `PINROLL_*` FTP/SSH keys3`pinroll:provision`**Blank host:** PinGate + platform.zip + installer setup3b`pinroll:connect`Existing site: deploy path, site URL, upload PinGate4`pinroll:apps`Set default packages for the host5`pinroll:vendor --push`Build production `vendor.zip`, upload, extract on host6`pinroll:check`Verify transport + PinGate7`pinroll:deploy`Build, upload, and install (go live)8`pinroll:setup`Post-deploy migrate + patch (`--seed`, `--config`)Single-app (pinx-root): `pinx deploy` forwards to `pinroll:deploy`.

### Subdomain folders

[](#subdomain-folders)

`deploy_path` is the FTP folder at account root (e.g. `apps`) that is linked as a subdomain. The site URL is used **as entered** for PinGate — path and URL are not mixed:

FTP folderSite URLGate URL`apps``https://apps.example.com``https://apps.example.com/pingate.php?route=``public_html``https://example.com``https://example.com/pingate.php?route=``public_html/shop``https://example.com/shop``https://example.com/shop/pingate.php?route=`If `pinroll:check` reports **Not PinGate JSON**, upload `pingate.php` next to `index.php` and confirm the site URL matches the live domain. Do **not** use PATH\_INFO (`pingate.php/push/…`); routing is `?route=`.

CLI
---

[](#cli)

```
php pinoox pinroll:init
php pinoox pinroll:provision
php pinoox pinroll:connect
php pinoox pinroll:config
php pinoox pinroll:apps
php pinoox pinroll:push
php pinoox pinroll:deploy
php pinoox pinroll:deploy --full
php pinoox pinroll:deploy --app=com_pinoox_developer
php pinoox pinroll:deploy --theme
php pinoox pinroll:deploy --platform
php pinoox pinroll:setup
php pinoox pinroll:setup --dry-run
php pinoox pinroll:setup --migrate --patch --seed
php pinoox pinroll:install
php pinoox pinroll:build --bundle=single-app --package=com_pinoox_developer
php pinoox pinroll:status
php pinoox pinroll:history
php pinoox pinroll:rollback
php pinoox pinroll:cleanup
php pinoox pinroll:gate
php pinoox pinroll:vendor
php pinoox pinroll:vendor --push
php pinoox pinroll:pull --server=https://releases.example.com
```

- `pinroll:init` — scaffold a short `.pinoox/pinroll.config.php` overlay + `.env` key stubs (canonical defaults live in the Pinroll library)
- `pinroll:provision` — blank-host install: PinGate + `platform.zip` extract + installer setup (welcome/manager router, installer disabled; `--setup-only` to retry setup)
- `pinroll:connect` — configure host + upload PinGate; writes **site origin + token** into the overlay; verifies if already set (`--reset` to redo)
- `pinroll:config` — print resolved host (origin, gate URL, via, path, token redacted)
- `pinroll:apps` — set `hosts.*.apps` (interactive or `--apps=`)
- `pinroll:check` — verify host connectivity before push
- `pinroll:push` — build and upload only (no install)
- `pinroll:deploy` — push + install via PinGate (go live); runs `fe:build` before `pinx:build`
- `pinroll:deploy --full` — platform zip (`pinx:update`) plus every installed/discovered app
- `pinroll:deploy --platform` — `pinx:build platform` then `pinx:update` on the host
- `pinroll:deploy --theme` — rebuild theme assets (`fe:build`) then include in the app `.pinx` / FTP dist
- `pinroll:setup` — post-deploy migrate + patch (add `--seed`, `--config`, `--dry-run`)
- `pinroll:install` — install a staged release (`pinroll:apply` is a deprecated alias)
- `pinroll:rollback` — switch the host back to a previous release
- `pinroll:cleanup` — prune local/remote archives by `keep` / `store`
- `pinroll:gate` — rebuild/upload a single `pingate.php` (`-z` zip; `--no-upload` keep local)
- `pinroll:vendor` — production `vendor.zip` via PlatformComposer (`--push` FTP + PinGate `POST ?route=vendor`)
- `pinroll:pull` — pull newer manifest from a release server (alias: `pinroll:poll`)

Updates on the host use the same pincore APIs as the CLI: **app/theme** → `PinxInstaller` (`pinx:install`), **platform/core** → `PlatformUpdater` (`pinx:update`).

Tests
-----

[](#tests)

```
composer test
composer test:platform
```

License
-------

[](#license)

MIT — [Pinoox](https://www.pinoox.com)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance97

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.9% 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 ~13 days

Total

3

Last Release

20d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0b2d1a1048bdc12294e89e6f94f2f2b0bf1805fd01dec2195aa9ab906a02b82?d=identicon)[pinoox](/maintainers/pinoox)

---

Top Contributors

[![yoosefap](https://avatars.githubusercontent.com/u/24357596?v=4)](https://github.com/yoosefap "yoosefap (22 commits)")[![esmaeilbahrani](https://avatars.githubusercontent.com/u/44259840?v=4)](https://github.com/esmaeilbahrani "esmaeilbahrani (16 commits)")

---

Tags

cicddeploydevopsphpphpreleasedevopsdeployrollbackci-cdpinooxpinrollpingate

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/pinoox-pinroll/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.6k](/packages/laravel-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M450](/packages/drupal-core-recommended)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10250.3k6](/packages/bitrix24-b24phpsdk)[shopware/storefront

Storefront for Shopware

674.7M288](/packages/shopware-storefront)

PHPackages © 2026

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