laravel-multidomain icon indicating copy to clipboard operation
laravel-multidomain copied to clipboard

is it able to work with Octane?

Open arivelli opened this issue 3 years ago • 9 comments

Hey Folks,

I was able to put my project (which use laravel-multidomain) to work with octane (swoole), with no additional effort it is able to run cli commands. But when I try from web looks like only use the original .env file no matter the domain I use. Any suggestion to solve it?

Thank in advance

arivelli avatar Jul 09 '21 13:07 arivelli

Hi,

sorry for the delay... I'm very very constrained in this period...

However, I never used Octane, so I'm not able to properly answer you... Anyway, since the CLI is working, maybe Octane does some customization in the App\Http\Kernel class or even in the main Illuminate\Foundation\Application class

But I don't have the code, so I'm only guessing

Cheers

Giacomo

gecche avatar Jul 27 '21 09:07 gecche

any news here?

arivelli avatar Oct 11 '22 17:10 arivelli

nope… I’m sorry but I don’t use Octane so I’m not be able to help… I left the issue open but it seems nobody could help

cheers

giacomo

gecche avatar Oct 11 '22 17:10 gecche

I will test Octane + Swoole with multidomain! If somebody test before, call here!

raulamoretti avatar Feb 25 '23 03:02 raulamoretti

I will test Octane + Swoole with multidomain! If somebody test before, call here!

Hi What was the result of your test?

negartarh avatar Mar 03 '23 21:03 negartarh

I will test Octane + Swoole with multidomain! If somebody test before, call here!

Hi, any news? Thanks.

valsha avatar Mar 24 '23 11:03 valsha

Hey guys!

In my initial tets it dont work. Only get original .env. I will commit in github my test.

Thanks!

raulamoretti avatar Mar 24 '23 14:03 raulamoretti

@gecche any chance to add support Octane? Thank you.

valsha avatar Apr 17 '23 14:04 valsha

I think Octane support would require a massive change in architecture of the package. Octane splits off part of execution to run once and stay in memory. This package is based on the normal execution where the entire execution flow is run per request. I plan to use Octane with FrankenPHP so maybe I will fork the repo here and develop it for that paradigm. I need it anyway. It would be great if a more experienced coder were to do it, but...

fpolli avatar Apr 01 '24 21:04 fpolli