PHPackages                             ipunkt/rancherize-blueprint-php-cli - 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. ipunkt/rancherize-blueprint-php-cli

AbandonedArchivedProject

ipunkt/rancherize-blueprint-php-cli
===================================

rancherize php cli blueprint

2.3.2(6y ago)13.8k1[1 issues](https://github.com/ipunkt/rancherize-blueprint-php-cli/issues)MITPHPPHP ^7.0

Since Aug 14Pushed 6y ago3 watchersCompare

[ Source](https://github.com/ipunkt/rancherize-blueprint-php-cli)[ Packagist](https://packagist.org/packages/ipunkt/rancherize-blueprint-php-cli)[ RSS](/packages/ipunkt-rancherize-blueprint-php-cli/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (14)Used By (0)

rancherize-blueprint-php-cli
============================

[](#rancherize-blueprint-php-cli)

Rancherize blueprint to run a single php command, optionally with cron label to run regularly.

Use
---

[](#use)

### Install

[](#install)

```
rancherize plugin:install ipunkt/rancherize-blueprint-php-cli:1.0.0

```

### Init

[](#init)

Init local development environment

```
rancherize init php-cli --dev local

```

Init push environment to be used with a rancher server

```
rancherize init php-cli production

```

Note that as of the time of writing all environments will use the same blueprint

### Configuration

[](#configuration)

#### Differences from WebserverBlueprint

[](#differences-from-webserverblueprint)

- `command`: The command that will be executed. The exact command that will be run is `php VALUEGIVEN` inside `/var/cli/app` where your app is mounted.
- `add-composer`: Add a composer.phar to your app directory

The base image version will be resolved in the following steps:

1. `php` set a version, then use `php:$version-alpine`
2. `docker.base-image` set, then use this image
3. nothing of the above, use `php:7.0-alpine`

#### Supported rancherize services

[](#supported-rancherize-services)

- [scheduler](https://github.com/ipunkt/rancherize/tree/master/app/Blueprint/Scheduler)
- Cron [schedule](https://github.com/ipunkt/rancherize/tree/master/app/Blueprint/Cron) IMPORTANT: Not the full `cron` syntax is supported. Only the `schedule` part is used on the top level of the environment

#### Example:

[](#example)

```
{
    "default": {
        "rancher": {
            "account": "accountname",
            "in-service": true
        },
        "docker": {
            "account": "accountname",
            "repository": "dockername\/reponame",
            "version-prefix": "cli_test_",
            "base-image": "php:7.0-alpine"
        },
        "service-name": "ServiceName",
        "php": "7.0",
        "add-composer": false,
        "command": "artisan",
        "schedule":{
          "hour":"*/2"
        },
        "scheduler": {
            "enable": true
        }
    },
    "environments": {
        "local": {
            "mount-workdir": true,
            "external_links": [],
            "environment": {
                "EXAMPLE": "value"
            }
        },
        "staging": {
            "rancher": {
                "stack": "Cli-Test"
            },
            "scheduler": {
                "tags": {
                    "apps": "true"
                }
            },
            "external_links": [],
            "environment": {
                "EXAMPLE": "value"
            }
        }
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~63 days

Total

12

Last Release

2200d ago

Major Versions

1.2.0 → 2.0.02019-03-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f1ab6ff16fc96d20efd363563c961db68587721536c6559d692f461588a1246?d=identicon)[svensp](/maintainers/svensp)

---

Top Contributors

[![justb81](https://avatars.githubusercontent.com/u/3680539?v=4)](https://github.com/justb81 "justb81 (2 commits)")

---

Tags

php7rancherrancher-api

### Embed Badge

![Health badge](/badges/ipunkt-rancherize-blueprint-php-cli/health.svg)

```
[![Health](https://phpackages.com/badges/ipunkt-rancherize-blueprint-php-cli/health.svg)](https://phpackages.com/packages/ipunkt-rancherize-blueprint-php-cli)
```

PHPackages © 2026

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