marcbelletre/laravel-diese

Laravel 对 Diese Software API 的封装

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

This package is auto-updated.

Last update: 2024-09-27 16:34:59 UTC


README

Latest Version on Packagist Total Downloads

本包提供了一个方便的 Laravel 封装,用于与 Diese Software API 交互。

API 文档

安装

您可以通过 composer 安装此包

composer require marcbelletre/laravel-diese

用法

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);

测试

composer test

变更日志

请参阅 CHANGELOG 了解最近更改的详细信息。

贡献

请参阅 CONTRIBUTING 了解详细信息。

安全

如果您发现任何安全相关的问题,请通过电子邮件 marc@pixelparfait.fr 而不是使用问题跟踪器。

致谢

许可协议

MIT 许可协议(MIT)。请参阅 许可文件 了解更多信息。

Laravel 包模板

本包是使用 Laravel 包模板 生成的。