wizaplace / sdk
Wizaplace's PHP SDK
Installs: 61 077
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 17
Forks: 11
Open Issues: 4
Requires
- php: >=7.1.3
- clue/json-stream: ^0.1.0
- doctrine/annotations: ^1.6
- doctrine/cache: ^1.8
- guzzlehttp/guzzle: ^6.3.0
- guzzlehttp/psr7: ^1.4
- jean85/pretty-package-versions: ^1.5 || ^2.0
- myclabs/php-enum: ^1.5
- psr/log: ^1.0
- symfony/serializer: ^5.0|^4.0|^3.0
- symfony/validator: ^5.0|^4.0|^3.3
- theodorejb/polycast: ^1.0
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.4
- php-vcr/php-vcr: ^1.4.1
- phpstan/phpstan: ^0.9.0
- phpunit/phpunit: ^6.5.5
- roave/security-advisories: dev-master
- symfony/http-foundation: ^4.0
- wizaplace/phpcs: ^1.2
- dev-master
- 1.154.0
- 1.153.7
- 1.153.6
- 1.153.5
- 1.153.4
- 1.153.3
- 1.153.2
- 1.153.1
- 1.153.0
- 1.152.2
- 1.152.1
- 1.152.0
- 1.151.7
- 1.151.3
- 1.151.0
- 1.150.3
- 1.150.2
- 1.150.1
- 1.149.4
- 1.149.2
- 1.149.1
- 1.148.6
- 1.148.5
- 1.148.4
- 1.148.3
- 1.148.2
- 1.148.1
- 1.148.0
- 1.147.0
- 1.146.3
- 1.146.2
- 1.146.1
- 1.146.0
- 1.145.1
- 1.145.0
- 1.144.1
- 1.143.2
- 1.143.0
- 1.142.2
- 1.142.1
- 1.142.0
- 1.141.1
- 1.141.0
- 1.140.1
- 1.140.0
- 1.139.0
- 1.138.2
- 1.138.1
- 1.138.0
- 1.137.0
- 1.136.1
- 1.136.0
- 1.135.3
- 1.135.2
- 1.135.1
- 1.134.1
- 1.133.4
- 1.133.2
- 1.132.0
- 1.131.2
- 1.131.1
- 1.131.0
- 1.130.0
- 1.129.2
- 1.129.1
- 1.129.0
- 1.128.2
- 1.128.1
- 1.128.0
- 1.127.3
- 1.127.2
- 1.127.1
- 1.127.0
- 1.126.3
- 1.126.2
- 1.126.1
- 1.126.0
- 1.125.1
- 1.125.0
- 1.124.4
- 1.124.3
- 1.124.2
- 1.124.1
- 1.124.0
- 1.123.0
- 1.122.16
- 1.122.15
- 1.122.14
- 1.122.13
- 1.122.12
- 1.122.11
- 1.122.10
- 1.122.9
- 1.122.8
- 1.122.7
- 1.122.6
- 1.122.5
- 1.122.4
- 1.122.3
- 1.122.2
- 1.122.1
- 1.122.0
- 1.121.5
- 1.121.4
- 1.121.3
- 1.121.2
- 1.121.1
- 1.121.0
- 1.120.9
- 1.120.8
- 1.120.7
- 1.120.6
- 1.120.5
- 1.120.4
- 1.120.3
- 1.120.2
- 1.120.1
- 1.120.0
- 1.119.9
- 1.119.8
- 1.119.7
- 1.119.6
- 1.119.5
- 1.119.4
- 1.119.3
- 1.119.2
- 1.119.1
- 1.119.0
- 1.118.11
- 1.118.10
- 1.118.9
- 1.118.8
- 1.118.7
- 1.118.6
- 1.118.5
- 1.118.4
- 1.118.3
- 1.118.2
- 1.118.1
- 1.118.0
- 1.117.2
- 1.117.1
- 1.117.0
- 1.116.7
- 1.116.6
- 1.116.5
- 1.116.4
- 1.116.3
- 1.116.2
- 1.116.1
- 1.116.0
- 1.115.9
- 1.115.8
- 1.115.7
- 1.115.6
- 1.115.5
- 1.115.4
- 1.115.3
- 1.115.2
- 1.115.1
- 1.115.0
- 1.114.2
- 1.114.1
- 1.114.0
- 1.113.7
- 1.113.6
- 1.113.5
- 1.113.4
- 1.113.3
- 1.113.2
- 1.113.1
- 1.113.0
- 1.111.43
- 1.111.42
- 1.111.41
- 1.111.40
- 1.111.39
- 1.111.38
- 1.111.37
- 1.111.36
- 1.111.35
- 1.111.34
- 1.111.33
- 1.111.32
- 1.111.31
- 1.111.30
- 1.111.29.2
- 1.111.29.1
- 1.111.29
- 1.111.28
- 1.111.27
- 1.111.25
- 1.111.24
- 1.111.23
- 1.111.22
- 1.111.21
- 1.111.20
- 1.111.19
- 1.111.18
- 1.111.17
- 1.111.16
- 1.111.15
- 1.111.14
- 1.111.13
- 1.111.12
- 1.111.11
- 1.111.10
- 1.111.9
- 1.111.8
- 1.111.7
- 1.111.6
- 1.111.5
- 1.111.4
- 1.111.3
- 1.111.2
- 1.111.1
- 1.111.0
- 1.110.25
- 1.110.24
- 1.110.23
- 1.110.22
- 1.110.21
- 1.110.20
- 1.110.18
- 1.110.17
- 1.110.16
- 1.110.15
- 1.110.14
- 1.110.13
- 1.110.12
- 1.110.11
- 1.110.10
- 1.110.9
- 1.110.8
- 1.110.7
- 1.110.6
- 1.110.5
- 1.110.4
- 1.110.3
- 1.110.2
- 1.110.1
- 1.110.0
- 1.109.11
- 1.109.10
- 1.109.9
- 1.109.8
- 1.109.7
- 1.109.6
- 1.109.5
- 1.109.4
- 1.109.3
- 1.109.2
- 1.109.1
- 1.109.0
- 1.108.34
- 1.108.33
- 1.108.32
- 1.108.31
- 1.108.30
- 1.108.29
- 1.108.28
- 1.108.27
- 1.108.26
- 1.108.25
- 1.108.24
- 1.108.21
- 1.108.20
- 1.108.19
- 1.108.18
- 1.108.16
- 1.108.15
- 1.108.14
- 1.108.13
- 1.108.12
- 1.108.11
- 1.108.10
- 1.108.9
- 1.108.8
- 1.108.7
- 1.108.6
- 1.108.5
- 1.108.4
- 1.108.3
- 1.108.2
- 1.108.1
- 1.108.0
- 1.107.5
- 1.107.4
- 1.107.3
- 1.107.2
- 1.107.1
- 1.107.0
- 1.106.4
- 1.106.3
- 1.106.2
- 1.106.1
- 1.106.0
- 1.105.10
- 1.105.9
- 1.105.8
- 1.105.6
- 1.105.5
- 1.105.4
- 1.105.3
- 1.105.2
- 1.105.1
- 1.105.0
- 1.104.10
- 1.104.9
- 1.104.8
- 1.104.7
- 1.104.6
- 1.104.5
- 1.104.4
- 1.104.3
- 1.104.2
- 1.104.1
- 1.104.0
- 1.103.1
- 1.103.0
- 1.102.10
- 1.102.9
- 1.102.8
- 1.102.7
- 1.102.6
- 1.102.5
- 1.102.4
- 1.102.3
- 1.102.1
- 1.102.0
- 1.101.4
- 1.101.3
- 1.101.2
- 1.101.1
- 1.101.0
- 1.100.33
- 1.100.32
- 1.100.31
- 1.100.30
- 1.100.29
- 1.100.28
- 1.100.27
- 1.100.26
- 1.100.25
- 1.100.24
- 1.100.23
- 1.100.22
- 1.100.21
- 1.100.20
- 1.100.19
- 1.100.18
- 1.100.17
- 1.100.16
- 1.100.15
- 1.100.14
- 1.100.13
- 1.100.12
- 1.100.11
- 1.100.10
- 1.100.9
- 1.100.5
- 1.100.4
- 1.100.3
- 1.100.2
- 1.100.1
- 1.100.0
- 1.99.3
- 1.99.2
- 1.99.1
- 1.99.0
- 1.98.3
- 1.98.2
- 1.98.1
- 1.98.0
- 1.97.4
- 1.97.3
- 1.97.2
- 1.97.1
- 1.97.0
- 1.96.5
- 1.96.4
- 1.96.3
- 1.96.2
- 1.96.1
- 1.96.0
- 1.95.0
- 1.94.3
- 1.94.2
- 1.94.1
- 1.94.0
- 1.93.0
- 1.92.7
- 1.92.5
- 1.92.4
- 1.92.3
- 1.92.2
- 1.92.1
- 1.92.0
- 1.91.3
- 1.91.2
- 1.91.1
- 1.91.0
- 1.90.1
- 1.90.0
- 1.89.3
- 1.89.2
- 1.89.1
- 1.89.0
- 1.88.24
- 1.88.23
- 1.88.22
- 1.88.21
- 1.88.16
- 1.88.15
- 1.88.14
- 1.88.13
- 1.88.12
- 1.88.11
- 1.88.10
- 1.88.9
- 1.88.8
- 1.88.7
- 1.88.4
- 1.88.2
- 1.88.1
- 1.88.0
- 1.87.4
- 1.87.3
- 1.87.2
- 1.87.1
- 1.87.0
- 1.86.1
- 1.86.0
- 1.85.2
- 1.85.1
- 1.85.0
- 1.84.8
- 1.84.7
- 1.84.6
- 1.84.5
- 1.84.4
- 1.84.3
- 1.84.2
- 1.84.1
- 1.83.0
- 1.82.3
- 1.82.2
- 1.82.1
- 1.82.0
- 1.81.2
- 1.81.1
- 1.81.0
- 1.80.2
- 1.80.1
- 1.80.0
- 1.79.6
- 1.79.5
- 1.79.4
- 1.79.3
- 1.79.2
- 1.79.1
- 1.79.0
- 1.78.6
- 1.78.5
- 1.78.4
- 1.78.3
- 1.78.2
- 1.78.1
- 1.78.0
- 1.77.0
- 1.76.1
- 1.76.0
- 1.75.2
- 1.75.1
- 1.75.0
- 1.74.0
- 1.73.1
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.10
- 1.70.9
- 1.70.8
- 1.70.7
- 1.70.6
- 1.70.5
- 1.70.4
- 1.70.3
- 1.70.2
- 1.70.1
- 1.70.0
- 1.69.5
- 1.69.4
- 1.69.3
- 1.69.2
- 1.69.1
- 1.69.0
- 1.68.1
- 1.68.0
- 1.67.2
- 1.67.1
- 1.67.0
- 1.66.1
- 1.66.0
- 1.65.1
- 1.65.0
- 1.64.3
- 1.63.0
- 1.62.0
- 1.61.0
- 1.60.0
- v1.58.0-rc.1
- v1.58.0-rc.0
- v1.57.0
- 1.56.0
- 1.54.0
- 1.52.0-rc.1
- 1.52.0-rc0
- 1.51.2
- 1.51.1
- 1.51.0
- 1.50.0-rc.0
- 1.49.0
- 1.49.0-rc.0
- 1.48.0
- 1.48.0-rc.1
- 1.48.0-rc.0
- v1.46.1
- v1.46.0
- v1.45.0
- v1.44.14
- v1.44.13
- v1.44.12
- v1.44.11
- v1.44.10
- v1.44.9
- v1.44.8
- v1.44.7
- v1.44.6
- v1.44.5
- v1.44.3
- v1.44.2
- v1.44.1
- v1.44.0
- v1.43.6
- v1.43.5
- v1.43.4
- v1.43.3
- v1.43.2
- v1.43.1
- v1.43.0
- v1.42.0
- v1.41.1
- v1.41.0
- v1.40.1
- v1.40.0
- v1.39.0
- v1.38.0
- v1.37.2
- v1.37.1
- v1.37.0
- v1.36.0
- v1.35.0
- v1.34.0
- v1.33.0
- v1.32.0
- v1.31.0
- v1.30.0
- v1.29.0
- v1.28.0
- v1.27.0
- v1.26.0
- v1.25.0
- v1.24.0
- v1.23.0
- v1.22.0
- v1.21.0
- v1.20.0
- v1.19.0
- v1.18.0
- v1.17.0
- v1.16.0
- v1.15.1
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.2
- v1.5.1
- v1.5.0
- v1.5.0-beta.2
- v1.5.0-beta.1
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v1.0.0-alpha.2
- v1.0.0-alpha.1
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.1
- 0.5.0
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.2
- 0.1.1
- 0.1.0
- dev-sso-ovh
- dev-feat-category-long-description
- dev-credit-card-service
- dev-user-service
- dev-dependabot/composer/guzzlehttp/psr7-1.9.1
- dev-tmp-etl
- dev-tmp-symfo5
- dev-legacy
This package is auto-updated.
Last update: 2024-12-09 16:11:11 UTC
README
PHP SDK for the Wizaplace e-commerce API: https://sandbox.wizaplace.com/api/v1/doc/
Installation
composer require wizaplace/sdk
Usage
You can find some small examples there: Wizaplace\SDK\Tests\ExampleTest
Development
Running linters and tests
With Docker
./docker-make all
Directly on your machine
Requires Make, Composer, and all dependencies defined in composer.json
.
composer install
make all
To run a single test, run the following command:
vendor/bin/phpunit --debug --verbose tests/PathToTestClass/MyServiceTest.php --filter testMyFunction
When you run the test testMyFunction()
of the file MyServiceTest.php
, a cassette at the format testMyFunction.yml
will be generated in the directory MyServiceTest
. Everytime you want to reload the test, you will have to delete
the cassette.
php-vcr
behaviour
Any changes to an API call in a tested method will make regenerate the cassette files (this needs the tests to be run twice). Those changes need to be committed alongside your code.
Deployment
When master
is ready to be deployed on Packagist.org:
- Go to the releases page on Github
- Click on "Draft a new release"
- Choose a new tag following semver (e.g.
1.30.1
) - Change the target to
master
- Set the release title to "Release {version}" (e.g. "Release 1.30.1")
- Copy the relevant section of the Changelog in the release description, or if the version is a patch, just write the list of fixes in a list
- Click on "Publish release"
- Check that the version is published on Packagist