quickstrap / quickstrap
A command line tool for quickly setting up projects
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 10
Type:project
Requires
- php: >=5.6
- codeclimate/php-test-reporter: ^0.3.0
- composer/composer: dev-master
- servo/fluidxml: 1.13
- symfony/console: ^3.0
- symfony/dependency-injection: ^3.2
- symfony/event-dispatcher: ^3.0
- symfony/http-kernel: ^3.2
- symfony/process: ^3.0
- symfony/yaml: ~3.2
Requires (Dev)
- mikey179/vfsstream: ^1.6
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^5.2
This package is not auto-updated.
Last update: 2024-04-05 16:00:50 UTC
README
Install Quickstrap
At a Terminal prompt paste the following:
[TODO] This doesn't work yet
php -r "copy('https://raw.githubusercontent.com/quickstrap/installer/master/src/setup.php', 'quickstrap-setup.php');"
php quickstrap-setup.php
php -r "unlink('quickstrap-setup.php');"
The script explains what it will do and then pauses before it does it.
What does Quickstrap do?
Quickstrap remembers how to configure things so you don't have to.
cd path/to/my/project
quickstrap testsuites:phpunit
It guides the user through configuration via prompts.
What version of PHPUnit ?
[1] 4.8
[2] 5.7
> 2
Verbose output? [Y|n]: y
Stop on failure? [Y|n]: y
... other prompts
And generates the configuration files.
Generated ./phpunit.xml.dist
There are many helpers
This will install Behat, and setup your feature directory and behat.yml configuration for you.
quickstrap testsuites:behat
This will install Code Sniffer.
quickstrap analyzers:codesniffer
This will generate a .travis-ci.yml configuration for you. If you've got phpunit or behat installed it will automatically add them to the configuration. [TODO]
quickstrap ci:travis-ci
This will generate a .gitlab-ci.yml configuration for you. If you've got phpunit or behat installed it will automatically add them to the configuration. [TODO]
quickstrap ci:gitlab-ci
This will setup a zend framework apigility skeleton project for you. [TODO]
quickstrap frameworks:apigility
This will setup a slimframework skeleton project for you. [TODO]
quickstrap frameworks:slim
This will setup a silex skeleton project for you. [TODO]
quickstrap frameworks:silex
Making more helpers
Easily create your own configuration helpers
quickstrap create my-php-helper
Created barebone helper project at ./my-php-helper
And publish your package as a git repository somewhere (github/bitbucket/gitlab etc).
Install new helpers
quickstrap install https://github.com/vendor/package-name.git