bland-industries / timing-api
Laravel 包用于连接到 Timing App API
0.0.1
2024-05-01 00:50 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- illuminate/contracts: ^10.0||^11.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
This package is not auto-updated.
Last update: 2024-10-03 01:17:25 UTC
README
用于连接到 Timing App API 的包
安装
您可以通过 composer 安装此包
composer require bland-industries/timing-api
您可以使用以下命令发布配置文件
php artisan vendor:publish --tag="timing-api-config"
这是发布配置文件的内容
return [ "max_batch_size" => 50, // the max batch size Mixpanel will accept is 50, "max_queue_size" => 1000, // the max num of items to hold in memory before flushing "debug" => false, // enable/disable debug mode "host" => "https://web.timingapp.com", // the host name for api calls "use_ssl" => true, // use ssl when available "error_callback" => null, // callback to use on consumption failures "version" => "v1", // default api version "token" => env('TIMING_API_TOKEN') // api token ];
用法
$timingApi = new BlandIndustries\TimingApi(); echo $timingApi->echoPhrase('Hello, BlandIndustries!');
测试
composer test
变更日志
请参阅 CHANGELOG 以获取有关最近更改的更多信息。
贡献
请参阅 CONTRIBUTING 以获取详细信息。
安全漏洞
请审查 我们的安全策略 以了解如何报告安全漏洞。
致谢
许可
MIT 许可证 (MIT)。请参阅 许可文件 以获取更多信息。