coop182/laravel-cron-validator
Laravel Cron Validator
Installation
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'
Usage
Add the following to your Model's validation rules
// Add your validation rules here
public static $rules = [
'cron_field' => 'cron_expression'
];
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
644,549,754
9,698
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
423,477,751
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 0.4 | >=5.3.0 | MIT | |
| 0.3 | >=5.3.0 | MIT | |
| 0.2 | >=5.3.0 | MIT |