19 questions with no answers
0
votes
0
answers
37
views
Is it possible to import an entire css folder to the Vite compilation in Laravel 12?
I am using the Laravel 12 + React starter kit, and I want to create several components, for example:
app/resources/js/components/Navbar.tsx
app/resources/js/components/Footer.tsx
app/resources/js/...
Advice
0
votes
0
replies
48
views
How to properly build an HR Management System using Laravel (API) + Next.js (frontend) with token authentication and middleware?
I'm building an HR Management System using:
Backend: Laravel
Frontend: Next.js
Authentication(SPA): Laravel Breeze (already set up for backend)
I'm a beginner in Next.js, and I’m a bit stuck on how ...
3
votes
0
answers
101
views
Implicit model binding fails when using {locale} prefix in routes
I'm working on a multilingual Laravel 12 app. All my routes are grouped under a {locale} prefix, like this:
Route::prefix('{locale}')
->group(function () {
Route::get('/activities/{...
0
votes
0
answers
24
views
My Laravel 12 spatie laravel-medialibrary - ConversionHasBeenCompletedEvent was not fired in EventServiceProvider
I try to listen to ConversionHasBeenCompletedEvent to delete the original image after the conversion has been completed, but this event did not trigger in my listener.
I'm using spatie laravel-...
0
votes
0
answers
77
views
Laravel + Laragon: wrong .env being used for API requests across multiple projects
I’m working locally with Laragon and multiple Laravel projects.
The setup looks like this:
Website A → its own .env (website-a.env), with DB website_a.
Website B → its own .env (website-b.env), with ...
0
votes
0
answers
62
views
Laravel 12 – Isolating queues per tenant in a multi-tenant SaaS (database driver)
I’m building a multi-tenant SaaS application with Laravel 12 using the database queue driver.
Problem
Each tenant should have its own isolated queue so that one tenant’s heavy background jobs don’t ...
0
votes
0
answers
94
views
Laravel reverb/echo useEchoPublic callback not triggering
I have a feeling I'm doing something very stupid but I cannot get the callback on useEchoPublic to fire no matter what I try
The event is structured like so, this is pulled straight from the browser ...
1
vote
0
answers
30
views
Laravel 12: Run scheduled command at 07:00 UK time while server is on UTC
I’m using Laravel 12 and I want to run a scheduled command every day at 07:00 UK (Europe/London) time, but my server is configured with UTC timezone.
In my bootstrap/app.php I have and its working:
$...
1
vote
0
answers
100
views
Schema dump not working in laravel 12 windows
I am trying to dump my mysql schema in laravel project using the following laravel artisan command but gets error on windows 10 machine. I am using windows powershell (PS).
php artisan schema:dump
# ...
0
votes
0
answers
267
views
Laravel 12, Laravel Reverb error with connection type
VPS GoDaddy, AlmaLinux. I'm writing a messenger and used the following technology stack: Laravel Reverb, Redis. I installed Reverb like this:
php artisan install:broadcasting
I couldn't configure the ...
0
votes
0
answers
78
views
Issue getting real client's ip on laravel 12 docker container
I'm trying to get the IP of the client that's making a registration request, but when I try to get the data from code, I get the address of the Docker container. I made the following changes:
...
1
vote
0
answers
102
views
Problems reading my own cookie in other parts of my Laravel app
I have a simple form where users come to report who they helped, and how. It is anonymous in the fact that they do not have to login in, but they are asked to provide their name. They will make many ...
0
votes
0
answers
87
views
External JavaScript isn't loading on my vue3 layout
I am trying to move WordPress webpage to Laravel 12.x. I am using for that vue3 + inertia starting kit. But since I have very little experience with vue, and completely non in inertia, I bumped at ...
0
votes
0
answers
87
views
load all pages used causing slow loading page
I am using laravel + inertiajs + react to build a website. the problem is when when I go to the home, it loads all pages including the ones are not needed on Home. it is causing the page load slow.
it ...
0
votes
0
answers
66
views
laravel 12 vue inertia laragon run in ngrok
I have a problem with the Laravel 12 project that uses Vue Laragon
Then I tried to run it using Ngrok but it kept getting errors
this is the error
Removing unpermitted intrinsics
@inertiajs_vue3.js?v=...
1
vote
0
answers
123
views
How to Use Laravel Reverb with the Livewire Starter Kit in Laravel 12?
I'm trying to use Laravel Reverb in a Laravel 12 application. I've gone through several tutorials and documentation, but almost all of them implement authentication using Laravel Breeze. However, with ...
1
vote
0
answers
376
views
Cors error in laravel-12 api that is called from react
Hi im trying to do a app using react as front-end and laravel 12 as api doing AJAX requests i can create users from bruno but when i trying with my react app i always receive the following CORS error:...
0
votes
0
answers
188
views
Laravel 12 with laravel/ui - The login redirection does not work on mobile
I just deployed my application to Laravel Cloud, and it’s working great: good performance, all packages work perfectly, and the login on PC works very well. However, on mobile, when logging in, it ...
1
vote
0
answers
232
views
Laravel session values are deleted immediately (Laravel 12)
I create session and session values are deleted when I refresh the page. I make the user login and when I refresh the page, auth()->user() returns me NULL value as if there is no one logged in. ...