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
212,532
questions
1
vote
1
answer
14
views
I have empty data in request in telegram-app
I have a problem: when I submit a form in a Telegram mini-application on my computer, everything works fine, but when I submit the same form on a mobile device, the GET method is used, and the request ...
-1
votes
0
answers
32
views
Laravel Reverb on VPS WebSocket connection failed
I have installed reverb on my laravel application it works fine in localhost but when I add it to my VPS I get this error
WebSocket connection to 'wss://localhost:8080/app/1vgpypraslvezinneor5?...
0
votes
0
answers
13
views
I can't run a LARAVEL project
so I downloaded this project from github to get inspired and learn how things are working, since I'm new to LARAVEL and somehow it wouldn't SERV
I tried to serv the project but this is what it shows
I ...
0
votes
0
answers
21
views
I run composer update and display me the next error
Deprecated: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute ...
0
votes
0
answers
11
views
Adding records to related models in a RestAPI
I want to insert data in a json body that store some related records. Let´s say that i have this structure of table: "ferramentas":
{
"title": "hotel",
"link": &...
0
votes
2
answers
27
views
Laravel get method query paramteres are coming as string, I need them in their original data type such as boolean
I am sending Query Params in Postman to a GET route.
The first parameter is sortByLocation which is a boolean value:
Of course I want to get it as boolean at backend.
I have a Form Request class ...
0
votes
0
answers
12
views
npm run dev in laravel project webpack said . resources/js/app.js is missing
npm run dev in laravel project webpack said . resources/js/app.js is missing . but i downloaded this project and i want run in localhost . there is no such file app.js . in resources folder
am i ...
-1
votes
0
answers
14
views
laravel 11 website getting 403 error in google search console
I have created website which has near about 600000 post. post can be access trought single route as
Route::middleware('page-cache')->group(function () {
Route::get('/{slug}',[ HomeController::...
0
votes
1
answer
27
views
Resizing of images for different containers [HTML, CSS, LARAVEL]
There is an issue with the scaling of the image for two different in size containers. The following must be fullfilled
Requirements
Image should look high resolution in two containers (w x h)
...
0
votes
2
answers
19
views
laravel anchor tag href and value are different
Anyone who experience this issue with anchor tags at laravel , I encounter an issue which href shows correct url href="job but the properties value shows = jobs/jobs. I don't have any issue with ...
0
votes
1
answer
20
views
Why are my Laravel route model bindings returning a 404 error?
I'm working on a Laravel project and using route model binding to automatically inject model instances into my routes. However, I'm encountering an issue where some routes return a 404 error even ...
0
votes
1
answer
36
views
AWS Token Issue with Bref and Laravel on Lambda: Invalid Configuration Value for 'token'
I am using Bref to run Laravel on AWS Lambda, and here is my serverless.yml configuration:
service: lambdajob
provider:
name: aws
# The AWS region in which to deploy (us-east-1 is the default)
...
2
votes
1
answer
55
views
SQL/Laravel: Get parents in tree data structure
Hello everyone) I use Laravel, MariaDB.
For example, we have a table like this, let's say categories.
id
name
_lft
_rgt
parent_id
path
is_folder
1373
Windows
1
10
NULL
1373
1
1374
Glass unit
2
7
...
0
votes
1
answer
25
views
Laravel retrieve images from storage public folder after deploying on shared hosting
Developers. I am working on an API project and there is image uploading in many pages, and I was storing the images like this
public function store(StorePlatformRequest $request)
{
$request->...
2
votes
0
answers
32
views
Not able to send sign create request Box API
I am developing an application using the Box Sign API and encountering a persistent 404 Not Found error when attempting to create a sign request.
API Endpoint:
URL: https://api.box.com/2.0/...