PHPackages                             austp/phpci-pho-plugin - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. austp/phpci-pho-plugin

ActiveLibrary[Testing &amp; Quality](/categories/testing)

austp/phpci-pho-plugin
======================

A plugin for PHPCI to run pho tests

1.1.3(11y ago)144MITPHP

Since Jan 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/AustP/phpci-pho-plugin)[ Packagist](https://packagist.org/packages/austp/phpci-pho-plugin)[ Docs](https://github.com/austp/phpci-pho-plugin)[ RSS](/packages/austp-phpci-pho-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

phpci-pho-plugin
================

[](#phpci-pho-plugin)

This is a plugin for [PHPCI](https://github.com/block8/phpci). It allows you to run [pho](https://github.com/danielstjules/pho) tests via PHPCI.

Installation
------------

[](#installation)

1. Navigate to your PHPCI path. `cd /path/to/phpci`
2. Edit the composer.json file. `nano composer.json`
3. Add `"austp\/phpci-pho-plugin": "~1.1"` in the `"require"` section.

    ```
     "require": {
       ...,
       ...,
       "austp\/phpci-pho-plugin": "~1.1"
     }

    ```
4. Download the plugin via composer. `composer update austp/phpci-pho-plugin`
5. Copy `build-plugins/pho.js` to `/path/to/phpci/public/assets/js/build-plugins/pho.js`

    ```
     cd /path/to/phpci/vendor/austp/phpci-pho-plugin/build-plugins
     cp pho.js /path/to/phpci/public/assets/js/build-plugins/pho.js

    ```

That's it as far as installation goes. Continue reading to see available options.

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

[](#configuration)

In order to configure PHPCI to run pho, you need to edit the `phpci.yml` file. If you don't already have this file in your repository, [go ahead and add it](https://www.phptesting.org/wiki/Adding-PHPCI-Support-to-Your-Projects). *Note: If you can't add a phpci.yml file to the repo, you can edit your project in PHPCI and configure it there.*

### Options

[](#options)

```
directory:  "specs/"         | The directory to run the tests on.
log:        true             | (optional) Log pho's output to PHPCI.
executable: "/path/to/pho"   | (optional) Full path to a pho executable.
bootstrap:  "bootstrap.file" | (optional) Bootstrap file to load.
filter:     "filter"         | (optional) Run specs according to this filter.
namespace:  true             | (optional) Only use namespaced functions.

```

### phpci.yml

[](#phpciyml)

1. Navigate to your repository. `cd /path/to/repo`
2. Edit the phpci.yml file. `nano phpci.yml`
3. Add `\PHPCI_Pho_Plugin\Pho:` in the `"test"` section.

    ```
     test:
       ...:
         ...: ...
         ...: ...
       ...:
         ...: ...
       \PHPCI_Pho_Plugin\Pho:

    ```
4. Add your options under the `\PHPCI_Pho_Plugin\Pho:` line.

    ```
     \PHPCI_Pho_Plugin\Pho:
       directory: "specs/"
       log: true

    ```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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

Total

7

Last Release

4136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/655611b6573be44714d94ca2087cf7c56de94a5b23f428df55f6a53aefac9d55?d=identicon)[AustP](/maintainers/AustP)

---

Top Contributors

[![AustP](https://avatars.githubusercontent.com/u/2007045?v=4)](https://github.com/AustP "AustP (15 commits)")

---

Tags

plugintestBDDphophpci

### Embed Badge

![Health badge](/badges/austp-phpci-pho-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/austp-phpci-pho-plugin/health.svg)](https://phpackages.com/packages/austp-phpci-pho-plugin)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1468.0M237](/packages/polishsymfonycommunity-symfony-mocker-container)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[php-mock/php-mock-mockery

Mock built-in PHP functions (e.g. time()) with Mockery. This package relies on PHP's namespace fallback policy. No further extension is needed.

392.1M96](/packages/php-mock-php-mock-mockery)

PHPackages © 2026

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