Questions Tagged [Laravel]
Ask Question the Laravel Framework Is an Open-Sourced Php Web Framework That Allows Developers to Create Dynamic and Scalable Web Applications. the Source Code...
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.
Must Read
193,433
questions
0
votes
0
answers
4
views
How to get list of user based on roles laravel spatie
I am doing a project which basically to find tutor web system.
I wanted to list user which has tutor roles in one of my blade.
I used laravel/spatie
The controller is TutorController
public function ...
0
votes
0
answers
10
views
How to send parameters from a view to a livewire component?
I'm new to livewire and I'm in an online sales project. I'm stuck at adding a product to a user's wishlist. I created a livewire component that just contains a function to add a product to the ...
-1
votes
0
answers
13
views
how to update pivot table in laravel
I want to update data in pivot table called 'artical_devis'
when i click update button, articals will updated with the same data entered
than you in advance
pivot table :
artical model :
class ...
0
votes
1
answer
14
views
Laravel - Form checkbox not getting checked
In Laravel I am fetching the value from database and based on that adding condition to check checkbox. I am facing issue with laravel checkbox is not getting checked. Tried using following code:
// ...
0
votes
0
answers
13
views
How should I use dynamic price in in-app purchase flutter
We have an application that selling courses to users used by flutter application and Laravel backend. We need to use in-app purchase in flutter and I have to send product price from backend to app, ...
0
votes
1
answer
13
views
Laravel - How to disable session for specific route?
Session driver is set to database currently. Now I want to disable session for some route. I am using laravel 7 in my project. What is the best way to disable the session?
I have tried: in ...
0
votes
1
answer
13
views
Real Time Notification Using Ajax In Laravel
I want to implement real time notification using ajax in laravel.
As same like php we use
but I need guide
any one who guide me how to do that????I only need to use ajax no other method
0
votes
1
answer
12
views
PHP DocuSing: after updating to Laravel 9 getting the error non successful HTTP code [400] User not found for JWT
I've integrated DocuSign API with my Laravel App few months back with JWT Authentication. It was working without any issues so far.
Two days ago we updated our app to Laravel 9 and since then getting ...
0
votes
1
answer
5
views
How do i configure a QGIS Server on an NGINX powered web server that is already serving a Laravel App
I have successfully set up a QGIS Server on an Ubuntu box.
I would like to access some maps on a url say: 121.123.124.124/qgisserver
I am currently accessing my laravel app via 121.123.124.124/
I have ...
1
vote
2
answers
26
views
I am looking for a way to set where (A or B) and C on laravel query builder
Is it possible to group search terms with Laravel's Eloquent query builder?
When I try this:
$criteria1 = ['country' => 'malaysia' , 'country ' => 'korea'];
$criteria2 = ['size' => 'big'];
...
0
votes
1
answer
12
views
laravel-vue multiple image not storing in database
i am trying to upload multiple images.after selecting images when i submit the form then i got this--
"{message: "The given data was invalid.", errors: {media: ["The media field is ...
0
votes
1
answer
12
views
how to pass one data view and others view page in laravel
i have two pages file in my view
first is my home blade then second is category blade and both of them using extends asidenav
my problem is when im redirecting to category file it gives me a error ...
0
votes
0
answers
16
views
Laravel Import: file_put_contents(...): failed to open stream: No such file or directory
I'm trying to import an Excel file with an image on it. However, I came across this error.
file_put_contents(images/detail_pengajuan/16553943431.jpg): failed to
open stream: No such file or directory
...
0
votes
0
answers
10
views
API Resources not working as expectation in lumen, missing pagination attributes
Using "laravel/lumen-framework": "^8.3.1",
Created "Resources" folder under app/Http.
Added Resources as follows.
UserResource.php
UserCollection.php
UserController....
0
votes
0
answers
9
views
Pest PHP use Trait with abstract function
I`m new to pest PHP and trying to use a trait within an pest PHP file. Within an trait I have an abstract method where I have to enter the route name. But I dont know how to call the abstract function ...