Skip to main content

Questions tagged [laravel-5]

Laravel 5 is a version of Laravel released between 2015 and 2020. Laravel is a an open-source PHP web development MVC framework created by Taylor Otwell which helps you create applications using simple, expressive syntax. Use the laravel tag for general Laravel related questions.

0 votes
0 answers
22 views

Laravel 5 Auth and OAuth

I’m returning to an old laravel 5.7 API code base that was once working swimmingly. I want to start updating it to laravel 11 (my first time doing upgrades in laravel, so was planning on using Shift) ...
David's user avatar
  • 175
1 vote
0 answers
49 views

How to Send Events to Google Tag Manager via PHP and Guzzle

I'm working on an API in Laravel and need to send events to Google Tag Manager (GTM) using PHP. I've created a helper class to send the event via a Guzzle HTTP call. While I always receive a 200 ...
Rizwan Saleem's user avatar
2 votes
1 answer
42 views

Ajax call is not taking full path without including Project Name

My project is running on an IP where there are other projects too. If I add the full URL in my ajax call then it works fine. Like:- $.ajax({ headers: { 'X-...
Kashish Agarwal's user avatar
0 votes
0 answers
31 views

Deployment Error: Laravel Project Fails to Build on Vercel

hello everyone I deployed laravel project on vercel but as you see the style does not work here is the vercel.json file { "version": 2, "framework": null, "functions": {...
mon app's user avatar
0 votes
0 answers
24 views

Apache virtual host pointing to intermediary document root

I have this fodler structure: Path to my laravel project: /home/name/workspace/myProject Path to my intermediary indexes: /home/name/workspace/indexes/indexOne /home/name/workspace/indexes/indexTwo ...
Stefan's user avatar
  • 9
0 votes
2 answers
138 views

Calling a schedule on a function in Laravel console.php

I want to call a function in console.php as a schedule. Here is my console.php code: <?php use App\Http\Controllers\AuctionController; use Illuminate\Support\Facades\Schedule; Schedule::call(...
404ptk's user avatar
  • 3
-1 votes
2 answers
158 views

Is Laravel-admin 1.8.19 not compatible with laravel 11.8.0? [Your requirements could not be resolved to an installable set of packages.]

I am using Laravel 11.8.0 for my web application project and wanted to make an admin page. Therefore, I tried to install laravel-admin. However, it gave me an error saying, "Your requirements ...
Tatsunori Ono's user avatar
-3 votes
1 answer
57 views

Couldn't get my desired output and got this kind of error 'htmlspecialchars() expects parameter 1 to be string, array given' [closed]

This is my data. {"ErrorCode":0,"ErrorDescription":"Success","Data":[{"PluginType":"SMS","Credits":"৳48.959915"}]} I ...
yasin konok's user avatar
0 votes
0 answers
35 views

How to handle "429 Too Many Requests" error when importing products from cjdropshipping.com in a Laravel PHP store with Drop-shipping?

HP store with Drop-shipping? Problem Description: I'm facing an issue while importing products from cjdropshipping.com in a Laravel PHP store with Drop-shipping. I receive an error message GuzzleHttp\...
Amer's user avatar
  • 1
0 votes
1 answer
134 views

Laravel : I want to rate limit API so only one session per IP address should access the application

Problem statement:- We are running a laravel application and receiving requests from worldwide. We want to rate limit API so only one session per IP address should access the application. Another ...
Pradeep Kumar's user avatar
0 votes
2 answers
886 views

Method App\Livewire\Post\Comment::emit does not exist

I use the Livewire framework in my Laravel, I created a comment feature, I want when I comment the screen will automatically scroll to the comment via the ID that I inserted using JavaScript but when ...
ZAKI ULUMUDIN's user avatar
0 votes
0 answers
30 views

casdoor PHP SDK integration with Laravel

I am new with casdoor or whole SSO concept, I want to integrate casdoor PHP SDK with Laravel for creating API for create account, verify the token, password reset and account update.Can someone point ...
AndroidBeginner's user avatar
0 votes
0 answers
36 views

Laravel eloquent select not accepting if function

I simply need to calculate a new field date in select in eloquent... but it does not seems to work although if I copy the mysql query in phpmyadmin it works. PV_Task::select("*,IF(date_start<'...
Paul Godard's user avatar
  • 1,123
0 votes
1 answer
67 views

Laravel When Condition on a column

I have a ModelA with columns: name, last_name, email I want ModelA with the name Test to add an extra where on email what I tried is the following $model_a_res = A::when( function($query){ return $...
Zein's user avatar
  • 645
0 votes
0 answers
22 views

Laravel 5 Querying "Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to a member function addEagerConstraints() on null"

Trying to establish different relationships between serial number model and warranties public function serialNumber() { return $this->belongsTo(SerialNumber::class, 'serial_no'); ...
Alex's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
2915