Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

I have the following tables: days with columns: id, trip_id, hex_color stops with columns: id, trip_id, trip_day_id I have the following query: $days = Day::where('trip_id', $tripId) ->with([ ...
0 votes
0 answers
22 views

I’m working with Filament (v4) and a RelationManager that has a fairly complex dynamic form. Context Resource: Order RelationManager: OrderItemsRelationManager The form dynamically builds slot ...
-1 votes
0 answers
43 views

My SQL suddenly throws: ERROR 1364 (HY000): Field 'id' doesn't have a default value when inserting data Everything is normal before my auto increment is at 516822 so it far from the limit, before ...
Best practices
0 votes
1 replies
32 views

What would be the best way to minify or compact the json response returned by either response()->json() or `ApiResources` in Laravel. Would middleware be the only option?
Advice
0 votes
1 replies
50 views

Laravel has localization for authorization, validation and other types of messages. validation.php returns an array which contains error messages for validation rules. It can also have custom ...
0 votes
2 answers
51 views

I have an application that uses laravel 11 and filament v3 where I have an import providers action: <?php declare(strict_types=1); namespace App\Filament\Imports; use App\Models\Provider; use ...
0 votes
0 answers
42 views

I provisioned a server on Laravel Forge, where a Laravel application resides. On that same server, I have created 6 databases to be used by the Laravel app. The issue now is that Laravel is unable to ...
Gina UK's user avatar
2 votes
1 answer
59 views

I am running an Ubuntu VM on a MacBook. The server is Nginx, the framework is Laravel, Vite is the default engine for front end development. I have configured the Vite server and it starts up, '...
J.T.'s user avatar
  • 81
-3 votes
0 answers
58 views

this is my first time coding roles and permissions, please review my code . :) I mostly followed a guide on Spatie roles and permissions but after the tutorial I did give it to ChatGPT for some review ...
-2 votes
1 answer
102 views

I am trying to run a mobile app (Android Emulator) with a local Laravel backend, but the emulator is unable to access my local API. Setup Details Backend: Laravel (running locally) Frontend: Mobile ...
2 votes
1 answer
106 views

Laravel keeps returning a 403 error everytime I try to edit or delete an entry. Here's what I've done : Controller public function __construct() { $this->middleware('auth')->except(['...
Gastono's user avatar
  • 21
2 votes
1 answer
72 views

I'm developing a Laravel app that runs inside an iFrame. While everything works fine with production builds (npm run build), I'm unable to get Vite working in development mode, which makes the ...
Tooling
0 votes
2 replies
61 views

From PHP you can navigate to VUE component from Inertia call. I have paid Laravel Idea plugin installed. But I can not navigate from VUE component to PHP controller or it's method. In VUE file I have ...
4 votes
1 answer
69 views

I have a Livewire component where $this->getName() works correctly and displays user name, but wire:click="logout" triggers a ComponentNotFoundException. The error message shows: Unable ...
1 vote
2 answers
66 views

I want translate page slugs in Laravel routes. My code is something like this: <a href="{{route('pages.get',['slug' => $page->slug])}}" target="">{{__($page->title)}}...
Stan's user avatar
  • 159

15 30 50 per page
1
2 3 4 5
...
14174

AltStyle によって変換されたページ (->オリジナル) /