Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

liamseys's avatar

Laravel Boost (MCP Issue)

I recently got the following error in all of my projects in PhpStorm, do you know why this is happening? Error connecting to transport: MCP error -1: Connection closed

liamseys's avatar
liamseys's avatar liamseys5mos agoLaravel
1
4
Last reply by liamseys 5mos ago
minaremonshaker's avatar

Issue with Foreign Key Creation in Laravel Migration

Hi, I’m encountering an issue with a migration that creates a tickets table, which has a one-to-many relationship with the users table. Normally, the tickets table should include a foreign key referencing the users table. However, when I try to define it using: $table->foreignId('user_id')->constrained(indexName: 'FK_USER_TICKETS')->onDelete('cascade'); it only creates

minaremonshaker's avatar
minaremonshaker's avatar martinbean5mos agoLaravel
11
25
Last reply by martinbean 5mos ago
ashler2's avatar

Laravel cloud

I've recently built a site and wanted to try Larave cloud. Everything works fine apart from crawling the site. I'm unable to setup anything related to google search console things due to it getting a 403 error. This isn't coming from my application as i don't get anything logged, it seems to be erroring on cloudflare. I've done the usual things and checked robots, etc. Is there

ashler2's avatar
ashler2's avatar Tray25mos agoDevOps
1
1
Last reply by Tray2 5mos ago
vincent15000's avatar

Inertia::defer and Inertia::scoll

Hello, Is it possible to use Inertia::defer and Inertia::scoll (for infinite scroll) together ? Thanks for your help. V

vincent15000's avatar
vincent15000's avatar vincent150...5mos agoInertia
1
1
Last reply by vincent15000 5mos ago
Chron's avatar

Session expiration on inertia + laravel + vue

I'm getting NS_ERROR_REDIRECT_LOOP error in Firefox when I perform a DELETE request when the session has already expired. What is the best way to deal with this?

Chron's avatar
Chron's avatar Chron5mos agoInertia
0
1
Chron's avatar

Got a security vulnerabilty after updating a composer package

I got this message after updating a package. What should I do? Package symfony/http-foundation Severity high CVE CVE-2025-64500 Title CVE-2025-64500: Incorrect parsing of PATH_INFO can lead to limited authorization bypass URL https://symfony.com/blog/cve-2025-64500-incorrect-parsing-of-path-info-can-lead-to-limited-authorization-bypass Affected versions >=

Chron's avatar
Chron's avatar Chron5mos agoPHP
3
351
Last reply by Chron 5mos ago
realstoyt's avatar

Filament RelationManager: Dynamic Select fields work in UI but fail validation / Livewire entangle issues in slot-based dynamic schema

I’m working with Filament (v3) and a RelationManager that has a fairly complex dynamic form. Context Resource: Order RelationManager: OrderItemsRelationManager The form dynamically builds slot sections based on the selected product. Each slot has: A Select field (orders.attachable_products) A dynamic Rules section that depends on the selected attachable product Everything is bu

realstoyt's avatar
realstoyt's avatar realstoyt5mos agoFilament
0
1
NYC2025's avatar

Error in a Basic Laravel Project

Hi there, I am new to Laravel programming and to posting on this forum (and to using forums, in general). If there is anything I need to read to familiarize myself with how to seek help, please post it here or direct me to the right place. I have created a simple landing page using a Laravel project. And now I am creating two simple calculation apps using Laravel that will be a

NYC2025's avatar
NYC2025's avatar Snapey5mos agoCode Review
4
1
Last reply by Snapey 5mos ago
thesimons's avatar

Creating a custom Registration page in Filament 4

Hello, is there any tutorial / how to about creating a custom Registration page in Filament 4? All material that I've found is about Filament 3. Thanks, Simon

thesimons's avatar
thesimons's avatar DigitalArt...5mos agoFilament
3
266
Last reply by DigitalArtisan 5mos ago
earmsby's avatar

footer widget appears in wrong place

From everything I've seen online, adding a footer widget to a view record should work this way: "Filament widgets added to a page via getFooterWidgets() are displayed below the page content, but above the main page footer, which places them above the relationship manager if configured correctly." Perhaps the key is "if configured correctly" My footer widget

earmsby's avatar
earmsby's avatar earmsby5mos agoFilament
2
1
Last reply by earmsby 5mos ago
Shivamyadav's avatar

How to close the sidebar for mobile with the inertia ja link?

I have a sidebar containing links for the pages. Build the my portfolio with Laravel vue and inertia, while using inertia link the request works as a ajax for the spa. Navigation works without page reloading but how could I close the sidebar on the mobile after a successful navigation on the mobile screens ?

Shivamyadav's avatar
Shivamyadav's avatar JussiManni...5mos agoInertia
5
1
Last reply by JussiMannisto 5mos ago
minaremonshaker's avatar

Managing Authorization with Sanctum and Spatie Permissions

When integrating authorization using the Spatie Permission package alongside Sanctum token-based authentication in my API, should I modify the abilities column in the personal_access_tokens table, or rely solely on the Spatie package for handling authorization?

minaremonshaker's avatar
minaremonshaker's avatar JussiManni...5mos agoLaravel
7
1
Last reply by JussiMannisto 5mos ago
ammar_ahmed's avatar

403 Forbidden on /broadcasting/auth when using Laravel Echo + Pusher

I am implementing real-time broadcasting in Laravel 12 with React (Inertia) using Pusher and Laravel Echo. The backend event fires successfully, but the frontend does not receive the broadcast. In the browser console, I consistently get the following error: POST http://127.0.0.1:8000/broadcasting/auth 403 (Forbidden) 1. Route Where the Event Is Fired (web.php) The event is tr

ammar_ahmed's avatar
ammar_ahmed's avatar vincent150...5mos agoLaravel
1
1
Last reply by vincent15000 5mos ago
vincent15000's avatar

Sale funnel and asynchronous pipeline

Hello, I'm looking for a way to create an asynchronous pipeline for a sale funnel. return Pipeline::send($cart) ->through([ ReserveStock::class, CreateOrder::class, PayOrder::class, CommitStock::class, ClearCart::class, NotifyOrderConfirmation::class, ]) ->thenReturn(); 1 - Stock reservation is triggered by an a

vincent15000's avatar
vincent15000's avatar vincent150...5mos agoLaravel
5
1
Last reply by vincent15000 5mos ago
vincent15000's avatar

InertiaJS and redirection after POST, PUT and DELETE

Hello, Hmmm ... Let's have a look at this page about flash datas. https://inertiajs.com/docs/v2/data-props/flash-data#flash-data public function store(Request $request) { $user = User::create($request->validated()); Inertia::flash('message', 'User created successfully!'); // Or flash multiple values at once... Inertia::flash([ 'message' => 'User

vincent15000's avatar
vincent15000's avatar martinbean5mos agoInertia
3
9
Last reply by martinbean 5mos ago
vincent15000's avatar

Testing with InertiaJS - Not a valid Inertia response

Hello, When I write exactly the same test as in the documentation, I get this error. Not a valid Inertia response describe('CategoryController', function () { describe('index', function () { it('returns inertia response with categories for authorized user', function () { $user = User::factory()->hasAttached(Role::factory()->hasAttached(Permission

vincent15000's avatar
vincent15000's avatar vincent150...5mos agoInertia
2
1
Last reply by vincent15000 5mos ago
pekkorina's avatar

Dark Mode Remove

I tried enabling dark mode during creating my laravel app. I am far into my project now and I want to delete the feature because I want a consistent look on my project. How do I remove/disable the dark mode? Thanks in advance!

pekkorina's avatar
pekkorina's avatar DaemonKeen5mos agoLaravel
2
3
Last reply by DaemonKeen 5mos ago
vandan's avatar

Laravel Developer Seeking Remote Job Opportunities

Hi everyone, I’m a Laravel developer with 6+ years of experience building web applications using Laravel, MySQL, REST APIs. I’m currently seeking remote Laravel job opportunities — either full-time or part-time. I’m open to working with startups or established teams. I’d love any job leads or advice on companies that are hiring Laravel devs. Thanks so much!

vandan's avatar
vandan's avatar vandan5mos agoGeneral
4
1
Last reply by vandan 5mos ago
AlAdler's avatar

Configuring different TurstProxies per environment

I need to have different TurstProxies configuration in different environments. I'm having trouble coming up with a good solution for this. TrustProxies are configured in bootstrap/app.php, but .env variables are not available yet there, so you cannot have an environment variable to check and act accordingly. Does anyone have any ideas on how this can be solved?

AlAdler's avatar
AlAdler's avatar n_jain5mos agoDevOps
6
145
Last reply by n_jain 5mos ago
yaswanthgupta's avatar

Reverse Proxy + Laravel (React Starter Kit) Issue

My Setup Laravel React Starter Kit hosted on IIS (Port 81) Nginx running on Port 8000 Configuration Details Nginx A location block is configured with proxy_pass pointing to port 81 When a user visits, http://server_ip:8000/app1 it proxies to http://server_ip:81/app1 Vite - vite.config.js base: '/app1/' Laravel - bootstrap/app.php ->withMiddleware(function (Middlewar

yaswanthgupta's avatar
yaswanthgupta's avatar yaswanthgu...5mos agoVite
2
1
Last reply by yaswanthgupta 5mos ago
nickb6437's avatar

Inertia Redirect (vue/laravel/inertiaJs)

Really sorry if this has been covered before but I can't find a working solution and have even asked numerous work colleagues. I have a form which sends a POST request to my MailController, validation and everything works just as expected, but on success, I want to redirect to a Thank you page. The Post request returns either a 200 or 302 depending on the method I try but ever

nickb6437's avatar
nickb6437's avatar 3xc-cchadw...5mos agoInertia
3
1
Last reply by 3xc-cchadwick 5mos ago
patressz's avatar

Laravel / Typescript enum

Hello guys, i have an laravel/inertia-vue app where i have defined some PHP enums, for consistency i use "spatie/typescript-transformer" package to generate native enums for typescript from PHP enums. it looks like below: // resources/js/types/generated.d.ts declare namespace App.Enums { export enum Period { 'EVEN_WEEK' = 0, 'ODD_WEEK' = 1, 'EVERY_WEEK' = 2, }

patressz's avatar
patressz's avatar niewiadoms...5mos agoJavaScript
1
1
Last reply by niewiadomsky-73797882 5mos ago
christian.giupponi's avatar

Add API to existing Laravel project

Hi, I'd like to know how to add API for an existing project. The only think that comes to my mind was return a json instead a view, but how to manage authentication? What is the best workflow in this type of situation?

christian.giupponi's avatar
christian.giupponi's avatar martinbean5mos agoLaravel
7
1
Last reply by martinbean 5mos ago
sr57's avatar

Schedule:list - description with a closure?

With this job $schedule->job(new MyJob)->daily(); php artisan schedule:list gives | | 0 0 * * * | App\Jobs\%yJob | 2021-08-20 00:00:00 +00:00 | With this closure ( from the doc ) $schedule->call(function () { DB::table('recent_users')->delete(); })->daily(); php artisan schedule:list gives | | 0 0 * * * | | 2021-08-20 00:00:00

sr57's avatar
sr57's avatar BayronVazq...5mos agoLaravel
4
12
Last reply by BayronVazquez 5mos ago
liandro-silva's avatar

Help a newcomer to the PHP ecosystem.

I have 6 years of experience with Node and React, but the ecosystem's instability led me back to PHP. I am building a SaaS for autism clinics (billing, scheduling, ABA, VB-MAPP) using Laravel, which will be wrapped in Capacitor for mobile deployment. To ensure the best mobile performance, do you recommend Livewire with AlpineJS, or would it be better to use Inertia with Svelte?

liandro-silva's avatar
liandro-silva's avatar jlrdw5mos agoLaravel
1
1
Last reply by jlrdw 5mos ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.