imsuperlative/laravel-schedule-worker

Laravel queue worker, using schedule
1,487
Install
composer require imsuperlative/laravel-schedule-worker
Latest Version:0.2.0
PHP:>=7.2
License:MIT
Last Updated:Feb 1, 2023
Links: GitHub  ·  Packagist
Maintainer: ImSuperlative
use imsuperlative\scheduleWorker\ScheduleCommand;
...

protected function schedule(Schedule $schedule)
{
    foreach (ScheduleCommand::make() as $command) {
        ScheduleCommand::dispatch($schedule, $command);
    }
}

this is proof of concept and should not be run in production environment.

todo
echo might destroy logging output of schedule

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660