You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if your PIM is currently a v2.3, you can still use a 1.0 version of the PHP client. The new endpoints available in v2.3 will not be available in the v1.0 of the PHP client.
@@ -19,149 +19,4 @@ For example, if your PIM is currently a v2.3, you can still use a 1.0 version of
19
19
* PHP >= 5.6
20
20
* Composer
21
21
22
-
## Installation
23
22
24
-
We use HTTPPlug as the HTTP client abstraction layer.
25
-
In this example, we will use [Guzzle](https://github.com/guzzle/guzzle) v6 as the HTTP client implementation.
If you want to use another HTTP client implementation, you can check [here](https://packagist.org/providers/php-http/client-implementation) the full list of HTTP client implementations.
40
-
41
-
## Documentation
42
-
43
-
Full documentation is available on the [API website](https://api.akeneo.com/php-client/introduction.html).
44
-
45
-
## Getting started
46
-
47
-
### Initialise the client
48
-
You first need to initialise the client with your credentials client id/secret and with your user/password.
49
-
50
-
If you don't have any client id, let's take a look at [this page](https://api.akeneo.com/documentation/security.html#authentication) to create it.
51
-
52
-
```php
53
-
<?php
54
-
55
-
require_once __DIR__ . '/vendor/autoload.php';
56
-
57
-
$clientBuilder = new \Akeneo\Pim\ApiClient\SyliusClientBuilder('http://localhost/');
Do note that you have to delete the `composer.lock` because Doctrine dependencies are loaded.
151
-
These dependencies are different in function of the PHP version running `composer install`.
152
-
153
-
```
154
-
cp docker-compose.yml.dist docker-compose.yml
155
-
rm -rf composer.lock vendor/
156
-
docker-compose run client_56 composer install
157
-
docker-compose run client_56 bin/phpunit -c phpunit.xml.dist
158
-
docker-compose run client_56 bin/phpspec run
159
-
docker-compose run client_56 bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
160
-
```
161
-
162
-
## Support
163
-
164
-
The support of this client is made in best effort by our Akeneo team.
165
-
166
-
If you find a bug or want to submit an improvement, don't hesitate to raise an issue on Github.
167
-
Also, you can ask questions and discuss about the PHP client with the community in the [Slack User Group](https://akeneopim-ug.slack.com/messages/web-api/).
0 commit comments