This is an example hookah integration with custom php app.
-
Clone repo -
git clone https://github.com/manishgs/hookah-integration.git
-
Change directory -
cd hookah-integration
-
Install app dependencies -
composer install
-
Copy .env-example to .env file -
cp .env-example .env
-
Change directory -
cd public
-
Serve app -
php -S localhost:8000
cd hookah-integration
./vendor/bin/phpunit
./vendor/bin/paratest -f --colors -m 2 -p 4 tests
- you can change base URL at
test\Smoke\BaseTestCase.php
- For more configuration [Read here] (https://github.com/younginnovations/hookah#settings)
This application uses following packages:
-
League Route - for Routing
-
[PHP dotenv] (https://github.com/vlucas/phpdotenv) - for loading environment variables