Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [laravel]

The Laravel framework is an open-sourced PHP web framework that allows developers to create dynamic and scalable web applications. The source code of Laravel is hosted on GitHub and released under the MIT license.

laravel
0 votes
1 answer
17 views

How to set up broadcasting in Laravel 11 - Error: "There are no commands defined in the 'install' namespace"

I'm trying to set up broadcasting in my Laravel 11 application. I followed the standard procedure and ran the command: php artisan install:broadcasting However, I encountered the following error: ...
irankhostravi's user avatar
-2 votes
0 answers
16 views

How to set opengraph meta tags in laravel

I tried to set opengraph meta tags in my laravel inertiajs web app. When I shared the url to whatsapp, the cover image did not show up.. I already set some opengraph meta tags in inertia Head ...
sdn bedali01's user avatar
0 votes
1 answer
18 views

has been blocked by CORS policy: Response to preflight request doesn't pass access control check in laravel

I am adding Stripe payment gateway to Laravel project and Aden I start requesting subscription to package using test mode and I get the following error Can you please tell me why and how to fix it has ...
anas tair's user avatar
-1 votes
0 answers
23 views

Laravel not loading index header image64

My Laravel project was working perfectly. now it won't load any page including index. apparently, I've been hacked. before the page loads, some PNG images get requested and the header include some ...
Siavash Eghlimi's user avatar
1 vote
0 answers
12 views

Laravel Sail MySQL Connection Refused - Docker Setup Issue

Description: I am currently setting up a Laravel project using Docker and Laravel Sail. I am facing issues connecting to the MySQL service from the Laravel application. The error message indicates ...
birbhouse's user avatar
  • 148
0 votes
2 answers
48 views

Get model relationship collection from another database in Laravel

I have set the connection to two databases properly. I also have created eloquent table models and I can query a single table relationship from another database easily e.g. $user->customer User ...
Drunken M's user avatar
  • 2,474
-2 votes
0 answers
14 views

Laravel with Inertia.js and Vue 3 performance issue when disabling hardware acceleration

hello I have a problem with Laravel Inertia with Vue 3 the problem is that I'm having high CPU usage when launching the Laravel server although I don't have much content on the website yet I have only ...
MaherRemitaDZ's user avatar
1 vote
1 answer
18 views

App Crash when using ReactNativeFile in apollo upload client to upload file

Issue Description I’m encountering a ClassNotFoundException related to okhttp3.internal.Util while trying to upload a file using ReactNativeFile with apollo-upload-client. Additionally, when using a ...
daniel meyer's user avatar
-2 votes
0 answers
24 views

Mapbox display pins from point A to point B [closed]

I have a mapbox with multiple pins. How can i display only pins from specific A point to specific B point within a radius of 10 km? Specific points will be typed by the user from two text inputs (A ...
Catalin Iamandei's user avatar
1 vote
0 answers
14 views

Using Laravel Reverb with Laravel and Nuxt and multiple apps/layers

I have a weird issue. I am using Laravel Herd Pro locally for development and I added a Laravel Reverb Server using the Services in Herd. I got these credentials: REVERB_APP_ID=1001 REVERB_APP_KEY=...
Torben's user avatar
  • 5,454
0 votes
0 answers
25 views

How to view images and sentences like "With text wrapping -Square" of Word - laravel-dompdf

I'm using laravel-dompdf now for printing pdf. PDF format: Two images are displayed on the right half of the first page. The sentence is displayed as much as possible in the left half of the first ...
bluestar0505's user avatar
0 votes
1 answer
32 views

Eloquent ORM performance with subqueries for relational models

Laravel eloquent uses subqueries for relationship model instead of joins as joins offer more optimal performance .How does eloquent orm ensures performance for relational models ?
Rubin Porwal's user avatar
  • 3,805
0 votes
0 answers
26 views

Livewire Laravel Dropdown filter not working after hosting

I have problem with dropdown filter not working after hosting. This is my code app/Livewire/Matakuliah.php (controller) return view('livewire.matakuliah', [ 'title' => 'Mata Kuliah', ...
Raider Boy's user avatar
0 votes
0 answers
30 views

Laravel sessions buggy behavior

I have a weird problem where sometimes sessions won't be stored, either using the helper or the $request->session()->put(...); method. For example, I have a simple controller method that returns ...
pileup's user avatar
  • 3,058
1 vote
0 answers
21 views

Laravel Testing with Multiple Databases: Preventing Migrations During Tests / Migrations failing

I'm working on a Laravel project that uses multiple MySQL databases. The main database (core_db) contains system tables like users, migrations, etc., while express_db and regio_db contain most of the ...
spyro95's user avatar
  • 146

15 30 50 per page
1
2 3 4 5
14169