modstore/cronski-laravel

Laravel package for Cronski

0.1.1 2020-10-06 10:26 UTC

This package is auto-updated.

Last update: 2024-05-06 18:18:58 UTC


README

Latest Version on Packagist Total Downloads

Laravel package for https://cronski.com

Installation

You can install the package via composer:

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

Usage

If you set scheduled = true in the config, add the following scheduled command to your App\Console\Kernel.php

Once you've enabled this option, you will need to run the migration to create the table for storing the pending requests.

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

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 mark@cronski.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.