Entwicklung

1. Repository Klonen

mkdir -p ~/projects && cd ~/projects

git clone git@bitbucket.org:locr/php-user-client.git
cd php-user-client
composer install

2. Tests (StyleGuide, statische Codeanalyse, Unit-Tests) ausführen

composer test

3. Unit- und Integrationstests mit Code-Coverage ausführen (lokal)

LOCR_USER_CLIENT_API_ENDPOINT=https://local.users.locr.com/api/ LOCR_USER_CLIENT_API_SSL_VERIFYHOST=0 LOCR_USER_CLIENT_API_SSL_VERIFYPEER=false LOCR_USER_CLIENT_TEST_AUTH_USERNAME=<username> LOCR_USER_CLIENT_TEST_AUTH_PASSWORD=<password> LOCR_USER_CLIENT_TEST_API_KEY=<uuid> composer dev:test:coverage:html