phpzone/phpzone

A generic tool for the easy creation of YAML configured console applications

0.2.0 2015-04-29 16:18 UTC

This package is not auto-updated.

Last update: 2024-04-27 14:48:59 UTC


README

Build Status Scrutinizer Code Quality SensioLabsInsight

Latest Unstable Version Latest Stable Version Total Downloads License

PhpZone is a generic tool for the easy creation of YAML configured console applications. Its primary purpose is to provide a centralized automation tool for developers to simplify development workflow.

As it's built on Symfony components without rapid custom modifications, it can be used as an application skeleton for any individual commands.

Its power is based on simplicity of centralized configuration via YAML and main value comes from extensions.

Basic Usage

An example speaks a hundred words so let’s go through one.

Create a phpzone.yml file in the root of a project:

extensions:
    PhpZone\Shell\Shell: # register an extension with a configuration
        tests:
            - vendor/bin/behat
            - vendor/bin/phpunit
            - vendor/bin/phpspec

and run:

$ vendor/bin/phpzone tests

As you would expect, the configuration contains the definition for the command tests and when you run it, all defined sub-commands will be executed.

The PhpZone\Shell\Shell extension is not a part of the phpzone/phpzone package, but an aside project based on PhpZone. More info PhpZone Shell.

Documentation

For more details visit PhpZone documentation.