Application of and for interns at @blumilksoftware.
In cloned or forked repository, run:
cp .env.example .env
composer install
Then run the application:
php cmd/run.php
# or composer go
There are scripts available for package codestyle checking and testing:
Command | Description |
---|---|
composer cs |
Runs codestyle against the package itself |
composer csf |
Runs codestyle with fixer enabled against the package itself |
composer test |
Runs all test cases |
There is the Docker Compose configuration available:
docker-compose up -d
docker-compose exec php php -v
docker-compose exec php composer -V
We encourage you to register an alias in your ~./bash_aliases
:
alias dcr='docker-compose run --rm -u "$(id -u):$(id -g)"'
Then following command could be handy:
dcr php php -v
dcr php php cmd/run.php
dcr php composer -V
dcr php composer test