m1x0n / helpscout-docs-api-php
API client for the Help Scout Docs API
Installs: 16 224
Dependents: 1
Suggesters: 0
Security: 0
Stars: 21
Watchers: 3
Forks: 5
Open Issues: 0
Requires
- php: >=8
- ext-json: *
- guzzlehttp/guzzle: ^7.9
Requires (Dev)
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: ^3.10
README
PHP Wrapper for the Help Scout Docs API. More information about Docs API: http://developer.helpscout.net/docs-api/.
Inspired and followed by original https://github.com/helpscout/helpscout-api-php repository.
Requirements
- PHP >= 8
Installation
This will install latest 4.*
version:
composer require m1x0n/helpscout-docs-api-php
Previous versions are also available and could be installed in following way:
composer require m1x0n/helpscout-docs-api-php:^2
Example Usage:
require_once __DIR__ . '/../vendor/autoload.php'; use HelpScoutDocs\DocsApiClient; // Initialize client $docsApiClient = new DocsApiClient('your-api-key'); // Get all collections $collections = $docsApiClient->getCollections();
More examples
Changelog
Covered Docs API methods
Contributions
Contributions are highly appreciated.
Feel free to file an issue, send a PR, make a suggestion etc.
TODO
Use jms/serializer for deserialization