coop182/laravel-cron-validator is a Laravel package for cron expression validator.
It currently has 0 GitHub stars and 949 downloads on Packagist (latest version 0.4).
Install it with composer require coop182/laravel-cron-validator.
Discover more Laravel packages by coop182
or browse all Laravel packages to compare alternatives.
Last updated
Begin by installing this package through Composer. Edit your project's composer.json file to require coop182/laravel-cron-validator.
"require": {
"coop182/laravel-cron-validator": "0.*"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Coop182\LaravelCronValidator\CronValidatorServiceProvider'
Add the following to your Model's validation rules
// Add your validation rules here
public static $rules = [
'cron_field' => 'cron_expression'
];