Download the PHP package fimaruf/recurring-task-scheduler without Composer
On this page you can find all versions of the php package fimaruf/recurring-task-scheduler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fimaruf/recurring-task-scheduler
More information about fimaruf/recurring-task-scheduler
Files in fimaruf/recurring-task-scheduler
Package recurring-task-scheduler
Short Description Laravel Recurring Task Scheduler
License proprietary
Informations about the package recurring-task-scheduler
Recurring Task Scheduler Package
PHP Laravel Package to provide scheduler functionality.
A SchedulableTrait is provided which allows you to link elqoquent models to a schedule model.
The scheduler generates a collection of future schedule event records and has a command line task that executes the schedule callback on the attached object.
Package Installation
composer require croudtech/recurring_task_scheduler
Add the schedulable provider to the providers list in your laravel config/app.php file:
A schedulable model must use the RecurringTaskSchedulableTrait
and implement RecurringTaskSchedulableInterface
.
The RecurringTaskSchedulableInterface
interface expects a recurringTaskScheduleCallback()
method which is called when the schedule is executed.
Routes
api/croudtech/schedule/{schedule}
Restful resource route for schedule objects
api/croudtech/schedule/{schedule}/schedule-event/{schedule_event}
Nested resource route for schedule events
api/croudtech/schedule/parse
Schedule parser. Pass a definition array in to get the matching dates. Doesn't save any data so is useful for previews
Prerequisites
PHP 7 and Laravel 5.3^
Versioning
Deployment
This package should be installed via composer following the package installation steps above
Owner
Jim Robinson [email protected]
Documentation
Schedule definition schema
- Daily
-
- Every N days {period, interval}
-
- Every Workday {period, interval, modifier}
-
- Every DOW {period, interval}
- Weekly
-
- N weeks {period, interval}
-
- On DOW {period, interval, modifier}
- Same day each month
-
- Day N of every N months {period, interval, modifier}
- Same week each month
- – every N months on the (1,2,3,4,last) DOW {period, interval, modifier}
- Same day each year
- – Day Month {period, interval, modifier}
- Same week each year
- – (1,2,3,4,last) DOW or Month {period, interval, modifier}
All versions of recurring-task-scheduler with dependencies
croudtech/laravel-repositories Version ^1.5
laravel/laravel Version ^5.0
nesbot/carbon Version ^1.21