2017 © Pedro Peláez
 

project spark

image

tedivm/spark

  • Tuesday, July 1, 2014
  • by tedivm
  • Repository
  • 1 Watchers
  • 4 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Spark Build Status

License Latest Stable Version Coverage Status, (*1)

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., (*2)

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-, (*3)

    $ spark create AcmeLibrary

Creating a different type of project, such as a cli application, is trivial-, (*4)

    $ 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)., (*5)

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

    $ spark show packages
    $ spark show packages cli

Installing

Composer

To install Spark using Composer, install Composer and issue the following command:, (*7)

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

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

    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., (*9)

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

The Versions