spatie / async

Easily run code asynchronously
https://spatie.be/en/opensource/php
MIT License
2.65k stars 179 forks source link

how to integrated with laravel #227

Closed hafung closed 1 month ago

hafung commented 5 months ago

as title...

skarner2016 commented 5 months ago
// Configure which autoloader sub processes should use.

$pool = Pool::create()->autoload(public_path("index.php"));

//  ...

You can try this, this is work for me in Laravel 8.*

hafung commented 5 months ago

thanks for your info. In this way, what benefits we get? this is really cconfused me.... and what about comparing with laravel octane?

spatie-bot commented 1 month ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.