Forge Home


Installs the PHPUnit PHAR package to an executable path for running unit tests for your PHP-based applications.


12,415 latest version

3.2 quality score

Version information

  • 1.0.0 (latest)
released Apr 17th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'akandels-phpunit', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add akandels-phpunit
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install akandels-phpunit --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Tags: php, phpunit


akandels/phpunit — version 1.0.0 Apr 17th 2014

Puppet module: phpunit

Puppet module for installing the PHPUnit unit testing framework's PHAR package.

Made by Andrew Kandels


Released under the terms of the BSD-2 license.

Simple Usage

    class { 'phpunit': }

Advanced Usage (complete options list)

    class { 'phpunit':
        phar_uri     => '',
        install_path => '/usr/local/bin/phpunit',

Uninstalling PHPUnit

    class { 'phpunit':
        ensure => absent,