Skip to main content
Advice
0 votes
0 replies
31 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 ...
IgorArnaut's user avatar
0 votes
1 answer
41 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 ...
juan's user avatar
  • 15
0 votes
0 answers
39 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
56 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
50 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 ...
Lana Bakhtyar's user avatar
-2 votes
1 answer
97 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 ...
vijay choudhary's user avatar
2 votes
1 answer
102 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
63 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 ...
Samball's user avatar
  • 919
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 ...
user2604188's user avatar
4 votes
1 answer
66 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 ...
Buddhika Lakshan's user avatar
1 vote
2 answers
65 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
1 vote
0 answers
89 views

I have a small problem with Laravel 12 where I cannot find a simple solution. The problem is simple: I need to prefix EVERYTHING. Reason for this: I have several Laravel apps which are all running ...
Klaus F.'s user avatar
  • 185
0 votes
0 answers
61 views

Problem I'm working on a Laravel 12 project with Inertia.js, Vue 3, TypeScript, and SSR. When I run npm run build:ssr, Vite only transforms 53 modules and produces a 36KB JavaScript file, even though ...
Leslie Joe's user avatar
0 votes
0 answers
69 views

I have a laravel/blade component like this $props(['condition']) @if ($condition) error @else {{ $slot }} @endif And i want to use it like this: @php $arr = []; @endphp <x-my-component ...
flappix's user avatar
  • 2,259
0 votes
1 answer
60 views

I've made the store data part in this question, and it works well using the first answer from user N69S. But now I tried to implement the same code in the update data part (to add new data when ...
Amanda Linhan's user avatar

15 30 50 per page
1
2 3 4 5
14176