marcbelletre / laravel-diese
Laravel wrapper for Diese Software API
v0.2.0
2023-03-27 13:29 UTC
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- laravel/pint: ^1.7
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
This package provides a convenient Laravel wrapper for interacting with the Diese Software API.
API Documentation
Installation
You can install the package via composer:
composer require marcbelletre/laravel-diese
Usage
use MarcBelletre\LaravelDiese\Facades\Diese; // Use the `get` method to retrieve all records for a content type $productions = Diese::get('productions'); $cast = Diese::find('production/cast/10'); // Use the `find` method to retrieve a single record by its ID $production = Diese::find('production', 10); $productionType = Diese::find('productionType', 2);
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 marc@pixelparfait.fr instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.