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.

Filter by
Sorted by
Tagged with
0votes
0answers
8views

No match found for location with path - Laravel 8 and Vue 3

Hi I have read that this question is already answered but that answer did not work to me.. I have my code like this: /router/index.js import { createRouter, createWebHistory } from 'vue-router' const ...;
0votes
0answers
7views

Append virtual static column/field in Laravel eloquent query?

I have two scenarios to implement in my query from the same database table and show them in two different front-end tables. The problem is I need to implement both of the scenarios in a single query ...;
  • 2,901
0votes
0answers
5views

laravel elequent - eager loading - load using condition from previous table

I am trying to use the relationship as its shown in the code: $lesson = Lesson::with(['teacher.teacherLessons' => function($teacherLesson){ $teacherLesson->whereHas('category.courses', ...;
0votes
0answers
3views

How to use SimpleBar with Livewire?

When using SimpleBar with livewire, at first render it works just fine but after calling any method it stops working but the elements of SimpleBar stay there so I cannot initialize it again like this: ...;
0votes
0answers
4views

Laravel 9 TestCase "The response is not a view."

I'm newbie with Laravel but I don't understand how to get a view in TestCase. Currently i've this code in my TestCase class : <?php namespace Tests\Feature; use Illuminate\Foundation\Testing\...;
-2votes
0answers
6views

how to payment gateway integration in coinqvest payments in Bitcoin

I newly to work payment gateway process . I need payment gateway samples step by step work flows;
0votes
0answers
16views

Request failed with status code 401 at createError "Unauthenticated"

I'm using laravel with reactjs I'm getting this problem when I'm doing logout enter image description here axios.defaults.withCredentials = true; // axios.defaults.headers.common = {'Authorization': '...;
0votes
1answer
17views

Save and update data same time in Laravel

I am working on a report management system. Suppose a city has a few states and states have a few towns. There will be a separate user for each town and he will create and submit a report for that ...;
  • 35
1vote
0answers
6views

Soketi with Laravel in different domains

I'm trying to use real-time notifications using Soketi So I createg the Soketi server in one separeted server with nodejs on port 6001 and SSL using letsencrypt. Then I Created the notification Added ...;
0votes
1answer
8views

LaraDock multiproject laravel 8 - installation issue

I am completely new to LaraDock. After hours of trying to dockerize existing Laravel 8 projects, I discovered LaraDock. I have installed it successfuly and the container is running in Docker. When I ...;
0votes
1answer
12views

Laravel Model is freezing the server. Timeout error

I'm having a really strange issue here. I have a user model (detailed below). It all works fine until I added the getReportsSharedAttribute function. When this is added, the server freezes and I get: ...;
1vote
2answers
17views

Input File Maximum Size

I'm new at Laravel. How can I limit the size of input file to 5mb? This is my controller : public function add_project_activity(Request $request){ $id_rotation = $request->id_rotation; ...;
0votes
1answer
14views

Laravel: fetch pivot relationship through another relationship

Using Laravel, I'd like to fetch an order status (order_status table) from an order (orders table) based on the locale relationship stored in the orders table using a pivot table (order_status_locale ...;
  • 838
-1votes
0answers
13views

how to show dynamic column in laravel 8

i have table like this table i want to filter by id_sub and the month, i already did that, with controller like this. i use laravel 8 public function search(Request $request) { $request->all(); ...;
0votes
0answers
9views

How to change URL Wordpress installed on a laravel project

I have a wordpress installed on laravel that it's on mysite.com/blog , but my laravel site has the middleware locale to add in the url what language is the page example: mysite.com/es/rooms , now we ...;

15 30 50 per page
1
2 3 4 5
12638