tedivm/spark

Fund package maintenance!
tedivm

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 0

Type:project

v0.1.1 2014-07-01 04:37 UTC

This package is auto-updated.

Last update: 2024-04-13 04:59:12 UTC


README

License Latest Stable Version Coverage Status

It seems like modern php projects have a lot of duplicated needs- test suite configuration, licenses, continuous integration setup, etc etc. All of these serve a real need, and a project can't be considered mature without them, but there is also something to be said for reducing the barrier of entry on setting up new projects.

Spark is a project template system that creates new projects with a simple command line argument. It supports a variety of project types that can be specified with an argument, defaulting to the "library" package-

    $ spark create AcmeLibrary

Creating a different type of project, such as a cli application, is trivial-

    $ spark create AcmeShellApplication cli

In each of these cases a new project will be created in your current directory in a folder with the project name (-d to pick a different location).

Getting a list of available project types is simple using the show command, which can also display additional information. about each package.

    $ spark show packages
    $ spark show packages cli

Installing

Composer

To install Spark using Composer, install Composer and issue the following command:

    $ ./composer.phar global require tedivm/spark @stable

If you haven't already, add ~/.composer/vendor/bin to your PATH

    export PATH="$PATH:$HOME/.composer/vendor/bin"

Github

Releases of Spark are available on Github. Download the spark.phar file and run it locally or move it to your system bin.

    sudo cp spark.phar /usr/local/bin/spark
    sudo chmod a+x /usr/local/bin/spark