headless-wms / php-client
This PHP client allows you to connect to the Headless WMS API
v0.1.1
2022-07-02 12:24 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ^7.0
This package is auto-updated.
Last update: 2024-06-04 23:40:23 UTC
README
With this PHP client you can connect to our API and integrate it in your application.
Getting started
Make sure you created an account on our website: a free trial account can be created at https://headless-wms.com/register/trial. To use this client use should use:
composer require headless-wms/php-client
After you acquired an account, an API key can be generated. You can use examples/generate_api_key.php for an example on how to generate an API key. When you have an API key you can set it on the client using setApiKey('Your API key').
$client = new Client('', 'Your Email', 'Your Password');
$client->setApiKey('Your Api Key')
After that you are ready to use the client.