New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

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

442,489,569 607
nunomaduro/collision

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

418,503,470 4,663

Version History

Version Released PHP License
0.2.0 >=7.2 MIT
0.1.3 >=7.2 MIT
0.1.2 >=7.2 MIT
0.1.1 >=7.2 MIT
0.1 >=7.2 MIT