Skip to content

Using Octane in Laravel Livewire SPA (production) #1022

@MinKhantNaung

Description

@MinKhantNaung

Octane Version

2.9

Laravel Version

12.9

PHP Version

8.3

What server type are you using?

FrankenPHP

Server Version

I don't know because I uninstalled Octane from my production server.

Database Driver & Version

No response

Description

I tried running Octane using FrankenPHP in my Laravel Livewire (SPA) production setup. I'm using Supervisor to manage the Octane process with the following command:

php artisan octane:frankenphp --port=8000

Octane starts successfully, and the site works as expected — including route switching via Livewire SPA.

However, when I reload the page, the CSS styles are not loading in production. Everything else seems to work fine.

Does anyone know why this might be happening or how to fix it?

Thanks in advance!

Steps To Reproduce

Set up a Laravel Livewire SPA project.

Install and configure Laravel Octane with FrankenPHP.

Run Octane using:

php artisan octane:frankenphp --port=8000

Use Supervisor to keep the process running in production.

Visit the site in the browser — it loads and works fine.

Switch between routes — everything works as expected.

Refresh/reload the browser.

CSS styles are no longer applied.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions