- Clone this repository
cd src/main/php
- Run
composer install
to install dependencies - Run
grunt default
to build and run an initial test
CLI controllers can be invoked via the following command:
./scripts/callPHP.sh -a <module>.<controller>.<action>.<verb> -p "param1=a¶m2=b"
e.g. ./scripts/callPHP.sh -a cli.hello.world.get -p "name=Logan"
To edit configuration for your environment, please edit src/main/php/Canddi/Helper/Config/config/canddi/config.ini
To perform commands which require authentication you'll need to populate this file with a valid Personal Access Token from GitHub.
Files stored in the static/
, such as CODEOWNERS
, are files that will be automatically committed to an updated repository.
- To update codeowners, change the
static/CODEOWNERS
file. Thestatic/CODEOWNERS
file is required.
Unit tests can be invoked via the following command:
./scripts/phpulocal.sh <file|directory>
e.g. ./scripts/phpulocal.sh src/test/php/
for ALL tests
They will also be ran on a grunt default