2017 © Pedro Peláez
 

library shell

A command/script builder configured by YAML, based on PhpZone

image

phpzone/shell

A command/script builder configured by YAML, based on PhpZone

  • Thursday, April 30, 2015
  • by jakubzapletal
  • Repository
  • 2 Watchers
  • 5 Stars
  • 2,220 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 1 Forks
  • 4 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

PhpZone Shell

Build Status Scrutinizer Code Quality SensioLabsInsight, (*1)

Latest Stable Version Total Downloads License, (*2)

A command/script builder configured by YAML, based on PhpZone. Its primary purpose is to provide an easy way to define multiple scripts used in daily workflow of every developer., (*3)

Basic Usage

An example speaks a hundred words so let’s go through one., (*4)

The configuration file below is used for a development of this extension:, (*5)

extensions:
    PhpZone\Shell\Shell:
        tests:
            description: Run all tests
            script:
                - bin/behat -f progress
                - bin/phpunit
                - bin/phpspec run -f progress
                - bin/phpcs -p --colors --standard=PSR2 src/ features/bootstrap/
                - bin/phpcs -p --colors --standard=vendor/jakubzapletal/php_codesniffer-rules/psr2-without-camel-case-method-name.xml spec/ integrations/

Now we can just run following command and all tests would be executed:, (*6)

$ vendor/bin/phpzone tests

Documentation

For more details visit PhpZone Shell documentation., (*7)

The Versions