matthewbdaly / api-client-boilerplate
PHP API client boilerplate
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/matthewbdaly/api-client-boilerplate
Requires
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0
- php-http/message-factory: ^1.0
- psr/http-message: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.0
- php-http/message: ^1.0
- php-http/mock-client: ^1.0
- phpspec/phpspec: ^3.2
- psy/psysh: ^0.8.0
- sebastian/phpcpd: ^3.0
- squizlabs/php_codesniffer: ^2.7
This package is auto-updated.
Last update: 2025-09-28 09:19:48 UTC
README
Boilerplate for writing PHP API clients. Uses PHPSpec and HTTPlug.
How do I use it?
composer create-project matthewbdaly/api-client-boilerplate <YOUR_NEW_LIBRARY_DIRECTORY>
This will generate a starting boilerplate for your API client. You'll want to update your composer.json
and phpspec.yml
with your required namespace and other details.