# clone project
git clone https://github.com/parcelvalue/api-client.git
# open project directory
cd api-client
# install dependencies
composer update
If you have DDEV installed:
# start project
ddev start
# install dependencies
ddev composer update
# then run all commands with the prefix `ddev exec`Create configuration file from the example provided:
cp config/.env.ini.dist config/.env.iniEdit config/.env.ini configuration file, setting the following values:
| Name | Description | Type | Format |
|---|---|---|---|
app_api_url |
The ParcelValue API URL, with trailing slash (¹) | string | |
app_api_version |
The ParcelValue API version your client is targeting | string | v3 |
app_api_client_id |
Your ParcelValue Client Id | integer | |
app_api_client_key |
Your Client key | string | |
app_api_server_key |
Your API server key. | string |
(¹) Current value for all environments: https://api.parcelvalue.eu/
composer check:structurecomposer checkcomposer s:8composer testcomposer test:dcomposer all