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
Requires
- php: >=5.3.0
- symfony/console: 2.5.*
- symfony/finder: 2.5.*
- symfony/yaml: 2.5.*
- twig/twig: 1.*
Requires (Dev)
- fabpot/php-cs-fixer: 0.4.0
- phpunit/phpunit: 4.0.*
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2024-10-13 06:18:09 UTC
README
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