Download the PHP package proilyxa/lara-thread without Composer
On this page you can find all versions of the php package proilyxa/lara-thread. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download proilyxa/lara-thread
More information about proilyxa/lara-thread
Files in proilyxa/lara-thread
Package lara-thread
Short Description This is my package lara-thread
License MIT
Homepage https://github.com/proilyxa/lara-thread
Informations about the package lara-thread
Lara-thread
Description
Since Swoole 6 it supports multithreading, so it's a great way to speed up Laravel applications!
You can use this functionality in your Laravel Octane application if you are using the Swoole driver or in console commands.
Require: Laravel 10-11, php8.1+ ZTS (Thread safe), swoole 6.0+ extension which was compiled with the --enable-swoole-thread parameter
https://wiki.swoole.com/en/#/thread/thread
Installation
You can install the package via composer:
Usage
LaraThread::run takes as its first parameter a class that implements the run() method. The run method can have any input parameters.
Main
Worker
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- proilyxa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of lara-thread with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
ext-swoole Version ^6.0