modstore/

cronski-laravel

Cronski 的 Laravel 扩展包

0.1.1 2020-10-06 10:26 UTC

This package is auto-updated.

Last update: 2024-09-06 19:03:53 UTC


README

Latest Version on Packagist Total Downloads

Laravel 扩展包,用于https://cronski.com

安装

您可以通过 composer 安装此包

composer require modstore/cronski-laravel
php artisan vendor:publish --provider="Modstore\Cronski\CronskiServiceProvider"

用法

如果您在配置中设置 scheduled = true,请在 App\Console\Kernel.php 中添加以下计划任务命令:

一旦启用此选项,您需要运行迁移以创建存储待处理请求的表。

// Send pending Cronski requests. You can reduce the frequency of this command to whatever suits.
$schedule->command('cronski:send-pending-requests')->everyMinute()->withoutOverlapping();

测试

composer test

变更日志

请参阅CHANGELOG以获取最近更改的详细信息。

贡献

请参阅CONTRIBUTING以获取详细信息。

安全

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

致谢

许可证

MIT 许可证 (MIT)。请参阅许可证文件以获取更多信息。