PHPackages                             articstudio/php-bin - 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. articstudio/php-bin

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

articstudio/php-bin
===================

2.3.0(6y ago)1921[2 issues](https://github.com/articstudio/php-bin/issues)MITPHPPHP &gt;=7.3CI failing

Since Jan 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/articstudio/php-bin)[ Packagist](https://packagist.org/packages/articstudio/php-bin)[ Docs](https://github.com/articstudio/php-bin)[ RSS](/packages/articstudio-php-bin/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (12)Versions (19)Used By (0)

php-bin
=======

[](#php-bin)

PHP bin helpers.

**Servei****[Master](https://github.com/articstudio/php-bin/tree/master)****[Develop](https://github.com/articstudio/php-bin/tree/develop)**CircleCI[![CircleCI](https://camo.githubusercontent.com/78d84bbbd1f75a1af30b900cc1366fd57ec395b45657bff2d231fbbbc671449b/68747470733a2f2f636972636c6563692e636f6d2f67682f617274696373747564696f2f7068702d62696e2f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/articstudio/php-bin/tree/master)[![CircleCI](https://camo.githubusercontent.com/0d59b83027bbe2d512e86a0942c61d39e2dcad9d391893e1986b83371da75bf3/68747470733a2f2f636972636c6563692e636f6d2f67682f617274696373747564696f2f7068702d62696e2f747265652f646576656c6f702e7376673f7374796c653d737667)](https://circleci.com/gh/articstudio/php-bin/tree/develop)**Install**

```
composer require articstudio/php-bin

```

**Usage**

For launch a interactive menu execute (in the root folder of project):

```
php vendor/bin/phpbin

```

If you would to execute in a command line environment, the pattern of execution is:

```
php vendor/bin/phpbin name-menu:name-task:name-subtask [parameter1] [parameter2]

```

Examples:

**Add a subtree:**`php vendor/bin/phpbin git:subtree:add [repository/subtree1]`

**Push a subtree:**`php vendor/bin/phpbin git:subtree:push [repository/subtree1]`

**Install package to module:**`php vendor/bin/phpbin composer:install [package-name] [module-name] [d/D]`

This package is composed by three big menus:

Git helpers:
------------

[](#git-helpers)

Provides some commands to manage a simple tasks for git subtrees.

By default this command take a set of subtrees who indicate in `composer.json`, attribute "config: subtree{}". But you can type a name of subtree to add manually.

- Launch git menu `php vendor/bin/phpbin git`
- Git add subtree `php vendor/bin/phpbin git:subtree:add [repository/subtree1]`
- Git pull subtree `php vendor/bin/phpbin git:subtree:pull [repository/subtree1]`
- Git push subtree `php vendor/bin/phpbin git:subtree:push [repository/subtree1]`
- Git remove subtree `php vendor/bin/phpbin git:subtree:remove [repository/subtree1]`
- Git check local subtrees with composer.json subtrees `php vendor/bin/phpbin git:subtree:check`

PHP helpers:
------------

[](#php-helpers)

Provides some commands to manage a php tasks:

- PHP lint (Syntax checker) `php vendor/bin/phpbin php:lint`
- PHP Metrics (Code metrics generator) `php vendor/bin/phpbin php:metrics`
- PHP PSR1 `php vendor/bin/phpbin php:psr1`
- PHP PSR1-fix `php vendor/bin/phpbin php:psr1:fix`
- PHP PSR2 `php vendor/bin/phpbin php:psr2`
- PHP PSR2-fix `php vendor/bin/phpbin php:psr2:fix`
- PHP unit test (pass all tests in `/test` directory) `php vendor/bin/phpbin php:test`

Composer helpers:
-----------------

[](#composer-helpers)

Provides some commands to manage a composer more easily:

#### Composer install dev

[](#composer-install-dev)

- Composer install: `php vendor/bin/phpbin composer:install [package_name] [module_name] [envoirment]`

This command, add a package into a module (subtree), this package will added into file composer.json (in `require` or `require-dev`, deppends envoirment parameter) of module, and will install into root project (`vendor` folder).

#### Composer get dev packages

[](#composer-get-dev-packages)

- Composer dev packages: `php vendor/bin/phpbin composer:dev-packages [module_name]`

Load all module requires and require-dev to root file composer.json like require-dev

#### Composer solve versions conflicts

[](#composer-solve-versions-conflicts)

- Composer update versions: `php vendor/bin/phpbin composer:update-versions [module_name]`

Solve conflicts about versions from root project composer.json, to module or modules composer.json file.

#### Composer normalize

[](#composer-normalize)

- Composer normalize composer.json files: `php vendor/bin/phpbin composer:normalize [module_name]`

Normalize structure of project composer.json, and module or modules composer.json file.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 59.4% 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 ~22 days

Recently: every ~52 days

Total

17

Last Release

2318d ago

Major Versions

v0.1.0 → 1.0.02019-01-25

1.1.0 → 2.0.02019-05-31

PHP version history (2 changes)v0.1.0PHP &gt;=7.1.3

2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3595718?v=4)[Marc Mascort Bou](/maintainers/marcmascort)[@marcmascort](https://github.com/marcmascort)

---

Top Contributors

[![Maurisss94](https://avatars.githubusercontent.com/u/9317848?v=4)](https://github.com/Maurisss94 "Maurisss94 (129 commits)")[![marcmascort](https://avatars.githubusercontent.com/u/3595718?v=4)](https://github.com/marcmascort "marcmascort (87 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")

---

Tags

phpbin

### Embed Badge

![Health badge](/badges/articstudio-php-bin/health.svg)

```
[![Health](https://phpackages.com/badges/articstudio-php-bin/health.svg)](https://phpackages.com/packages/articstudio-php-bin)
```

###  Alternatives

[jbzoo/composer-diff

See what has changed after a composer update.

53888.9k1](/packages/jbzoo-composer-diff)

PHPackages © 2026

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