212,679 questions
0
votes
1
answer
43
views
Double scrollbars and mysterious white space at the bottom of the page with flex-col layout
I've been creating a layout in Laravel, Blade, and Tailwind CSS that seems pretty basic; I want a sidebar on the left side and a main content column that scrolls vertically if there's overflow. The ...
0
votes
1
answer
65
views
How to automatically update filament RepeatableEntry after form save
In filament v3, after creating a new message, repeatable entry would automatically update but this is not the case in filament v4. How do I achieve the same behaviour in filament v4.
In filament v4 I ...
1
vote
1
answer
63
views
Sweetalert2 is not being shown
I'm using Laravel 12 and Livewire 3, and now I'm trying to use sweetalert2 in component file.
Here is what I've already done:
install sweetalert2 :
npm install sweetalert2
in resources\js\app.js :
...
0
votes
0
answers
66
views
Laravel + RoadRunner + SQS — API workers blocked while publishing to SQS (70ms latency per request)
I’m running a high-concurrency Laravel application on an EC2 instance using RoadRunner (12 PHP workers).
Each incoming request simply publishes a message to AWS SQS — that’s all it does.
The problem: ...
2
votes
1
answer
109
views
Custom File upload Component in Livewire Laravel
I am trying to create a reusable Livewire input-file component, Such that :
Easy embed in any (parent) and pass the model name (ex = "file1")
How to store() the file is in control of (...
0
votes
1
answer
80
views
WalletPass Notification API Returns 200 but No Push Notification Received
Problem:
When using the WalletPass Notification API to push updates to a pass, the API returns a 200 OK response, indicating success. However, no push notification is actually delivered to the ...
0
votes
1
answer
84
views
What is the correct context to consume a RabbitMQ broker within the PHP/laravel ecosystem?
We have a system that captures telemetry data in real time. The broker we hire sends telemetry data in real time from the device they place inside our cars. This operation has been running for two ...
0
votes
1
answer
128
views
How to change model to export from filament resource to exporter class
I have an application that uses filament 3.2 and in this application I have a resource called "Students", within this resource I am calling a "Tables\Actions\ExportBulkAction" that ...
0
votes
1
answer
96
views
Why is Laravel Clockwork taking up so much space, and can I safely flush it?
In my local development environment for a Laravel project I have had Clockwork installed for a few years, and after an unrelated permissions issue recently noticed that the Clockwork folder is taking ...
0
votes
1
answer
60
views
The blade not calling a function in the component
I hava a modal within a blade view(criteria.blade.php and i want this modal when triggered and filled to call the function with a component(Criteria.php) which sends data to the database but the ...
-1
votes
0
answers
68
views
Sweetalert2 does not show up in Laravel 12 - Livewire [closed]
I'm using Laravel 12 and Livewire 3, and now i'm trying to use sweetalert2 in component file.
These are what I already do :
install sweetalert2 : npm install sweetalert2
in resources\js\app.js : ...
0
votes
1
answer
62
views
Single Sign On - Laravel Passport
I have multiple Laravel Apps all with their own user tables and roles tables. I want to implement single sign on so a user can sign in once and then access all the apps without signing in again. I ...
0
votes
1
answer
65
views
How to show Laravel session flash messages in Vue component using Inertia?
I’m using Inertia.js with Vue 3, and I want to show a success message when a form is submitted successfully.
In my controller I have:
public function store(Request $request)
{
$validated = $...
0
votes
0
answers
68
views
How to handle PayPal subscription plan changes in Laravel when update/revise requires user approval?
I’m building a Laravel application that uses PayPal subscriptions. My app’s database and PayPal subscriptions are kept in sync, and users can manage their subscription from a dashboard.
When a user ...
0
votes
0
answers
60
views
How to mock usager of Laravel scopes for unit testing?
I'm using Laravel 12 along with Pest (using Mockery), and I have this method :
public function destroy(array $ids): array
{
$data= Item::findAllByFieldIn('id', $ids)->get();
// ...
0
votes
0
answers
64
views
Laravel 12.0 Jetstream 5.3 "remember me" not working
I am having a problem with the remember me functionality in my app. When users log in they can check the box and it will work for a while but after a few hours/days (I haven't timed it exactly) they ...
0
votes
0
answers
93
views
The Laravel project on production continues to give database connection error intermittently
The Laravel project on production continues to show the error below intermittently:
SQLSTATE[HY000] [1130] Host 'localhost' is not allowed to connect to
this MariaDB server (Connection: mysql, SQL: ...
0
votes
0
answers
35
views
Laravel + Imagick: Thumbnails return 0×0 images in browser despite valid 200 response
I’m building a Laravel + React (Inertia.js) application where users can upload files (PDFs, images, etc.).
For each file, I generate a thumbnail so I can display it in a gallery card (CardFile.jsx).
...
0
votes
1
answer
47
views
How to output image from relation model Backpack 6?
I have this issue:
If I use relation with model Fotos in Model Order - I can't output image from relation model. (I.e. I tried using fotos.image in field text, field upload but image not indicated). I ...
1
vote
2
answers
135
views
Laravel stancl/tenancy: Tenant migrations "Nothing to migrate" (separate tenant DBs, migrations in database/migrations/tenant)
I am running tenant new migration (orders_table migration) that live in database/migrations/tenant/ . Each tenant has its own database (tenant_1, tenant_2, tenant_3, ...)
and there are some tables ...
0
votes
0
answers
69
views
Why are my Laravel Inertia props not rendering in Vue component?
I’m using Laravel 10 with Inertia.js and Vue 3.
In my controller, I return a page like this:
use Inertia\Inertia;
use App\Models\User;
public function dashboard() {
$users = User::all();
...
-3
votes
1
answer
123
views
Is it possible to use the "/" route for a controller in Laravel with Inertia? [closed]
What I want to set up in .\routes\web.php is something like
Route::resource('/main', CallController::class);
So, if user goes to www.sitename.com/, the index of CallController should be executed and ...
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
1
answer
125
views
How to disable automatic _id ↔ id mapping in mongodb/laravel-mongodb to allow Eloquent updates?
I'm using the mongodb/laravel-mongodb package in a Laravel project and running into an issue with documents that have both _id and id fields.
For example, a document in my collection looks like this:
{...
0
votes
1
answer
121
views
Getting "page over page" problem in laravel 11+ using inertia react for frontend
I have been struggling with this error for 2 weeks. Project setup is basically simple:
docker-compose for building app, redis and mariadb containers
nginx on production server for serving app and ...
1
vote
1
answer
96
views
$query was unresolvable while evaluating a closure in Filament
I have created the UserResource in Laravel's Filament but I get the following on email TextInput when attempting to update a user.
Illuminate\Contracts\Container\BindingResolutionException
An attempt ...
0
votes
0
answers
78
views
Custom exception is logged twice by Laravel
I am developing a Laravel 12 API app with Sanctum authentication (SPA). I am facing a behavior in which Laravel is logging the custom exception twice.
The custom exception declaration is as follows:
...
0
votes
0
answers
83
views
Instagram Graph API: Short-lived token works but long-lived token fails in Laravel
I’m working with the Instagram Graph API in a Laravel backend. My goal is to exchange a short-lived Instagram user token for a long-lived token, but it keeps failing with an error in production ...
0
votes
1
answer
324
views
Illuminate\Database\QueryException could not find driver (Connection: sqlite,
I have a new laptop and have done a first install of PHP and Composer on it. I've executed these two commands from the terminal in VS Code:
composer create-project laravel/laravel project001
php ...
0
votes
1
answer
94
views
Switching from registering Service Providers in configuration to providers.php when upgrading to Laravel 11
I have a Laravel application originally developed in Laravel 10, but I have since upgraded the application to Laravel 12. One of the changes starting in Laravel 11 is that custom service providers are ...
3
votes
0
answers
136
views
Laravel migrations on production with large dataset take too long and cause deployment timeout
I'm facing an issue while deploying code to my production server using GitHub Actions (CI/CD).
I have 3 environments: dev, staging, and production.
On the dev server, migrations run fine because ...
0
votes
0
answers
34
views
In Spatie Media Library Plugin s3 bucket Files are not being loaded when on edit page
In Spatie Media Library Plugin every thing works fine and I can upload images to s3 bucket but Files are not being loaded when on edit page, the image container remain loading and does not display the ...
0
votes
0
answers
29
views
How can I test form fields inside Filament Tabs?
I’m using Filament in my Laravel application.
In one form, I’m using Tabs to organize different groups of fields.
For example, my form schema looks like this:
->schema([
Tabs::make('Tabs')
...
1
vote
0
answers
161
views
I can't make broadcast work with Laravel Reverb
I'm quite new to Laravel. I have basic understanding but that's all. I wanted to create a mini game that required a lobby where player could connect. Each player would be able to see when someone ...
-1
votes
1
answer
52
views
How to correctly define additionalProperties with example in l5-swagger / Swagger-PHP?
I am trying to document a Laravel API using l5-swagger (swagger-php). I have a request body where one property is a map of wallet IDs to effective dates, like this in PHP:
[
11 => "2025-12-...
0
votes
1
answer
58
views
dropdown menu not working on jquery in vite laravel 12
i have a project in laravel 12 vita, i installed jquery via npm npm install jquery --save-dec. in navbar layout it shoud display the Languages dropdown using mcamara pakage.
The problem is the ...
1
vote
1
answer
62
views
When using this with and redirect back to the page after successful operation the ckeditor is not loading
I Am using ckeditor 5 and here is my configuration. which is working good when i first load the page but i click on the submit button and server redirect me on same page this is no longer working here....
0
votes
0
answers
59
views
Laravel session lifetime on recursive ajax
I'm using laravel 8 with SESSION_DRIVER=file
I have code that run like below, and I have a problem why the recursive not extending the expired time of session?
Each process take 30sec, but after ...
0
votes
1
answer
49
views
How do relation for column Backpack from relation of model?
I tried do table with relations with three models Orders, Users and Chats.
Model includes with (->with('orders'), ->with('users'), etc).
How I can indicate in Backpack column name of relation ...
0
votes
0
answers
64
views
How to setup basefolder for Unisharp Laravel File Manager 2.11 with Laravel 12
I have installed the latest version and published all the necessary assets. My configuration is that the root folder is public_html and not public folder. So I had to copy all the vendor/views ...
0
votes
0
answers
124
views
Integrating elFinder 2.1.59, TinyMCE 5.10.7 to Laravel 12
I recently moved to php 8.3 & Laravel 12. Lots of changes... such as image manager. I am struggling to get elfinder to work.
composer require barryvdh/laravel-elfinder
php artisan elfinder:publish
...
1
vote
1
answer
102
views
How to establish a real-time socket connection between Laravel (PHP) and Python?
I’m building a real-time location tracking system with:
Backend: Laravel 11.45.2 (PHP 8.2.29)
Frontend: Flutter
Hosting: cPanel
So, how should I connect this? Am I approaching it the right way or ...
2
votes
1
answer
158
views
How do I display all thoughts on the frontend using SSE with Laravel and Vue.js?
I'm working on a project where I'm trying to implement a model context protocol server for my LLM to use called server-sequential-thinking. I have a chat area where a user can enter a prompt and the ...
1
vote
0
answers
63
views
brodcast route return empty page instead of auth token after authentication is successful
I upgraded from laravel 8 to laravel 12 and installed reverb for my chatting app. My app does not subscribe to channel showing me this error
{ type: 'AuthError', error: 'JSON returned from channel-...
0
votes
1
answer
176
views
style css not working after uploading file to a server in laravel 12
I am new in laravel 12. I have a project in laravel 12. My custom CSS file is completely working in localhost after i run npm run dev, then i run npm run build to upload the project to my own server, ...
1
vote
0
answers
56
views
Filament stats charts are out of scope
I’m developing a dashboard with Laravel and Filament 4. I have a section that contains KPIs. These KPIs are Stat classe from StatsOverviewWidgets. On these KPIs, I want to display a chart to show the ...
0
votes
0
answers
56
views
Larave 12 skip and delete related model does to work as inteded [duplicate]
In my Laravel 12 application. This code deletes entire set of logs (related to that app) without skipping:
$app->logs()->orderBy('timestamp_ms', 'desc')->skip(2)->delete();
While this ...
0
votes
0
answers
141
views
HerdHelper installed but cannot be reached on Windows (port issue 5022)
I am using the Herd application on Windows computer for working multiple php version applications and I’m having trouble every time with the HerdHelper service when i stop and start the services.
When ...
1
vote
0
answers
67
views
Laravel Development server failed to listen on 0.0.0.0:8001 [duplicate]
When I start the server, I get this error.
php artisan serve --host=0.0.0.0 --port=8001
Starting Laravel development server: http://0.0.0.0:8001
[Sat Sep 20 08:30:14 2025] Failed to listen on 0.0.0....
0
votes
1
answer
59
views
can not update data using select statement for where condition
I am trying to update data with where condition. I am trying to get the where condition of update statement from the select statement. But in this case the data is not updated.
public function update(...