Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
102 views

I'm using a creating Eloquent model observer to automatically generate a slug before inserting a new product into the database. Here’s the code from my ProductObserver: public function creating(...
Somar kn's user avatar
  • 143
0 votes
0 answers
117 views

Here is my current configuration. server { include snippets/security.conf; include snippets/gzip.conf; listen 80 default_server; listen [::]:80 default_server; client_max_body_size 200M; root /var/...
Văn Tân Lâm's user avatar
0 votes
0 answers
310 views

I'm struggling with how to set up docker-compose (or dockerfile) to work with Laravel Octane by default. I'm using basic things from https://frankenphp.dev/docs/docker/. I also changed Caddyfile to ...
Malyutki's user avatar
0 votes
1 answer
168 views

I'm looking to upgrade our current laravel app, by using FrankenPHP to give it a performance boost. But I'm having issues when I try to deploy to our staging environment, so I'm trying to clone that ...
Eman's user avatar
  • 1,357
0 votes
0 answers
170 views

I am currently running Laravel project with Octane and Swoole. It works well on localhost, but whenever I try to run Laravel Octane with host I always got an error like that: Running Laravel Octane on ...
Hiệp Quang's user avatar
1 vote
0 answers
578 views

I try to install octane in my Laravel 10/filament app and I run it with command : $ php artisan octane:start --server=swoole --host=local-quizzes.com --port=8002 --watch INFO Server running…. ...
mstdmstd's user avatar
  • 3,309
0 votes
1 answer
830 views

i am on laravel 8, php 8.1.29 and i am trying to move my current progject from php-fpm to laravel octane, follwoing the instructions from laravel documentations i am able to install and enable octane ...
Muhammad Anas's user avatar
0 votes
1 answer
598 views

I'm trying to migrate to Laravel Octane. I use the cookie-based session authentication from Sanctum (React SPA) and use Laravel as an API. I tried setting up Octane with Swoole, which caused lots of ...
Strikr's user avatar
  • 1
0 votes
1 answer
1k views

I'm trying to run Laravel Octane in Docker. I'm using FrankenPHP. When it starts, in log I'm getting lots of: ERROR PHP Fatal error: Uncaught Error: Class "Laravel\Octane\Octane" not found ...
dust_bg's user avatar
  • 749
0 votes
1 answer
877 views

In the context of Kubernetes (or AWS ECS), when deploying a Laravel Octane application using Swoole (or RoadRunner), is it essential to include a separate Nginx container (or any other web server) ...
Marcos Kubis's user avatar
0 votes
1 answer
1k views

I have the following route in my web.php $parsedUrl = parse_url($appUrl); $host = $parsedUrl['host']; Route::domain("{slug}.$host")->group(function () { Route::get('/', ...
William Martins's user avatar
0 votes
0 answers
466 views

I found that the Nginx config in Laravel Octane official documentation set connection close instead of keepalive when proxy passing to Octane listening port. Could anyone tell me why? The config is as ...
Ray's user avatar
  • 383
4 votes
2 answers
1k views

I already have a project running on Laravel Sail 10.0 with roadrunner. I tried to configure Xdebug but I can't make it stop on my breakpoints. Every time I run sail up it PhpStorm create a new tab on ...
damiusen's user avatar
1 vote
2 answers
6k views

Consider your application having other factors common excluding laravel + php-FPM and Laravel Octane like apache server, ram size, processors speed etc. So can somebody tell me why and which is better ...
vishal-mote's user avatar
5 votes
1 answer
2k views

I setup a clean Laravel 9 project. I then setup Octane with RoadRunner. I run it on a VirtualBox VM in a Windows 11 host. My PC: CPU: Ryzen 5 3600 RAM: 32GB - 2x16GB DDR4 3200Mhz CL16 Storage: ...
pileup's user avatar
  • 3,450
1 vote
1 answer
279 views

I am trying to generate a sitemap for my website but I can't, my website is using laravel octane. The urls that the spatie/laravel-sitemap package generates are like these: <?xml version="1.0&...
DeveloperX's user avatar
-1 votes
1 answer
1k views

I run command to get new laravel 9 setup under docker with only mysql and redis containers by doing curl -s "https://laravel.build/example-app??with=mysql,redis" | bash, after that I run cd ...
Bogdan  Dubyk's user avatar
  • 5,634
0 votes
0 answers
1k views

my laravel website is already using ngnix + php-fpm, it is working fine, but I want to migrate to docker with octane, do you know a good tutorial to check it? Octane uses swoole or roadrunner, then ...
DeveloperX's user avatar
2 votes
0 answers
800 views

In my new Project, I need to create an authentication system, the requirements are: authentication should be done for different domains and sub-domains for now, the only client type is front-end ...
nader ghazi's user avatar
-1 votes
1 answer
2k views

I am using Laravel Forge to manage my servers and websites. So generating SSL certificates via Let's Encrypt is also done vie Forge. Somehow one of my domains throws me an error (see attached). This ...
Brotzka's user avatar
  • 2,825
1 vote
0 answers
1k views

I'm currently upgrading an application to use Octane. At a glance I thought this was working great until I used K6 to do some load testing. It might be worth mentioning at this point that I'm using ...
Luke Snowden's user avatar
  • 4,236
0 votes
1 answer
841 views

I'm attempting to set cookies on Laravel Octane, however the cookies appear to be not defined on the given index. setcookie(self::JWT_TOKEN_COOKIE, $token_details['access_token'], [ 'httponly'...
Oliver Kucharzewski's user avatar
1 vote
0 answers
397 views

I need to change database dynamically on the fly in laravel-octane or laravel-swoole package. I am working on a custom multi tenant system. Application is working fine without swoole/octane.
Al Emran's user avatar
0 votes
1 answer
929 views

how can I configure a swoole http-server without nginx? my problem is domain routing. where can I configure a specific domain for swoole http-server in laravel octane? I have configured an nginx on my ...
ehsan afshary's user avatar
0 votes
0 answers
1k views

I have just set up Laravel octane and its working as expected but all of the links are shown in http but the site is over HTTPS. For example when trying to login. The user will be warned by the web ...
thor's user avatar
  • 1