marcbelletre/laravel-diese

Laravel wrapper for Diese Software API

v0.2.0 2023-03-27 13:29 UTC

This package is auto-updated.

Last update: 2024-10-27 16:39:29 UTC


README

Latest Version on Packagist Total Downloads

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.