fredbradley / bradfordapi
A PHP Wrapper API for Bradford
1.0.0
2020-06-29 08:50 UTC
Requires
- php: ^7.2
- ext-json: *
- guzzlehttp/guzzle: ^6.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^8.0
- vimeo/psalm: ^3.12
This package is auto-updated.
Last update: 2024-10-29 05:41:21 UTC
README
Bradford Api
Installation
You can install the package via composer:
composer require fredbradley/bradfordapi
Usage
$api = new \FredBradley\BradfordApi\BradfordApi("https://server.tld", "username", "password"); $api->request("GET", "host", [], ['owner' => 'myuser']); // this will give you a JSON object of hosts where the owner equqals myuser
More helper functions will be added in due course, but this will get you going.
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email hello@fredbradley.co.uk instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.