krishbala96 krishbala96
3

Laravel Project using Onion Architecture

Hi Everyone, I need to apply or convert the Laravel structure to the Onion Architecture. If anyone is done already or tried, please give me any sample or tips to con...
schwartzmj schwartzmj
1

hasOneThrough where two models are the same table

Here's a brief summary of my models that I want to connect through a hasOneThrough relationship: User with $user->role === 'agency' and $...
SimonAngatia SimonAngatia
12

Model::decrement() and Model::increment() not working efficiently

Hey guys, I am getting data from a request and I have created a model observer to do some computations on the data after it has been saved. The computations are like increm...
Laravel
12
54
maan56 maan56
26

Ajax request error 422 (Unprocessable Entity)

Hey guys! I'm having issue with ajax request. I'm using jquery tabledit plugin and when saving edited row, facing error 422 (Unprocessable Entity) and in response text I ge...
gianmarx gianmarx
1

popup tailwind with laravel jetstream not work

this button takes ID at random instead of the specified one, when I press the close button the status change of a random ID starts but I pass it poll-> id in the form....
GillesDeb GillesDeb
1

General advice >Database management system & hosting server

Hi, TL:DR @bottom I'm a newbie here, and am new to coding in general. This question is probably not really 'laravel' related more a gen...
anonymouse703 anonymouse703
0

How to update status using vue?

Hello guys newbee here.... I know how to do this in pure laravel but in vue I really don't have an idea yet. I want to update status to 1 or 0 but it not work vue fu...
Vue
0
4
yoeriboven yoeriboven
3

Eager Loading not possible

I'm using Laravel Cashier Paddle (docs - package) and havi...
jesse_orange_newable jesse_orange_newable
0

Laravel pagination in Vue.js

I am using Laravel's paginate method with Vue.js for a load more button, the pagination in my Vue component is an object like so: (this.pagination = { fro...
orest orest
3

can't use where clause after union of 2 queries

i have 2 queries and i apply union and finally use a where clause to filter the final query. This doesn't seem to work though. Is this normal ? Or i'm miss...

Multi-Tenant package recommendation

I've kinda coded my own multi-tenancy solutions in the past and it's been really great in some cases and others not so great. However, so much of this code is now st...
robmills robmills
4

Service provider for library with runtime vars added to constructor

Hey, I'm using a library which contains a mix of keys and runtime specific configuration, which is all added to the constructor as below....
Atef95 Atef95
16

HTTP ERROR 500

Hey artisans I'm trying to host my project on a VPS UBUNTU 16.04 I'm running into an issue from hours and couldn't fix it whenever I try to access...
Servers
16
79
farshadf farshadf
3

how to make jpg file from a blade view in laravel (making certificate for users)

i want to give my users some certificate that they can share on social media . i see that laravel have so many packages to export blade file as exel or pdf but as they are...
AlexGodbehere79 AlexGodbehere79
2

Laravel Multi Vendor Paypal Integration

Hello I have an ecommerce site where each user can able to connect their Paypal account and able to receive the money via their own account. I checked in the documen...
RFFRED RFFRED
0

Help... Livewire setup

I am having trouble setting up livewire with L8 I followed the https:...
anonymouse703 anonymouse703
15

422 Unprocessable Entity on updating record with image

Hello guys, newbee here. I want to update a record with image in the modal but when I clicked the update I have this error: app.js:285 PUT...
Vue
15
103

Auto-login after registration issue

I am creating a registration process where, after registering, I'd like a user to verify their email before they can continue. In theory, Fortify should automatically login...
Meaulnes Meaulnes
1

Form data not transmitted on submit

I use Laravel 8 inertia and vue I want to update a post and I use this component in a main vue <template> <div class="container p-3 bg-g...
astro_369 astro_369
0

mounting root-level component using render function

view file <div id="app"></div> app.js import App from './components/App'; new Vue({ r...
Vue
0
8
aavinseth aavinseth
10

GET method is not supported for homepage

I am getting error in fresh installation of laravel 8, MethodNotAllowedHttpException The GET method is not supported for this route. Supported methods: HEAD. error comes af...
Laravel
10
65
krutik2403 krutik2403
1

Microservice Architecture in Laravel

Hello Guys, How I can build a microservices with Laravel. I am in need of dividing my current ERP software building on Laravel. Also, AWS Aurora will be compa...
reinisk22 reinisk22
1

How to index a non-unique column?

Hey, I've got a table like this INCREMENTAL_ID, ID, STRATEGY, POLICY_ID, ASSIGNED_AT, CREATED_AT, UPDATED_AT The strategy column is a...
fredemagi fredemagi
14

Submitting form with danish letters in input

Hello, I have made a form with a single input element. When I fill in a string with danish letters (æøå), it returns strange letters in the controller like "...
Laravel
14
121
chrisan chrisan
1

General error: 1366 Incorrect string value: '\xE2?

I am parsing a text file which is encoded in UTF-8 and there is a string with the value of Cluse La Boh?⿿me Grey Leather 38mm When I view it in Notepad++ it...
Ravish replied
Solved
General
1
128
GrahamMorbyDev GrahamMorbyDev
1

$request->user = Unauthorized

I have a laravel/Vue application which Im trying to set up cashier on. When I got to set up a payment intent I get an Unauthorized return $request->...
mstdmstd mstdmstd
5

I got composer install error under php 7.4

Hello, I try to run laravel 7 under php 7.4 (I worked under php 7.3 before) and I got error: $ composer install Loading composer repositories with package in...
streamingsystems streamingsystems
1

File Download

Hi, I am using Laravel 8. I wanted to run some ideas by some fellow developers to make sure I am understanding the way the file download works in Laravel....

Scheduler not working after moving servers

Hi all, I've moved a Laravel app to a new server. Previously the scheduler was working fine and running the jobs set in Kernel.php at their correct inte...
RFFRED RFFRED
11

Having several repositories attached a controller

Hi, I have read using Eloquent is not great in terms of performance when used with databgrids. I currently have an Eloquent repository attached to a controlle...
Laravel
11
132
saurav77 saurav77
0

My Vue Js Route is not working in laravel ?

I have installed Vue router npm install vue-router //In package.json "vue-router": "^3.4.4" In App.js, I have import li...
Vue
0
17
youssefboudaya youssefboudaya
1

Best laravel version to know ?

I am used to working with laravel 5.4 on all of my previous projects. Laravel now has reached 8.0 version and i wanted to upgrade my knowledge and learn a newer vers...
gianmarx gianmarx
0

use delete profile jetstream for crud operations

i could use delete jetstream i mean popup etc to do other kind of crud on other view. I'm talking about this file: views / profile / delete-user-form.blade.php:...
yoeriboven yoeriboven
2

Add items to custom collection

I'm building a custom collection class called Plans. <?php namespace App\Plans; use Illuminate\Support\Collection; class Plans extends Collection { p...
nicotravassos nicotravassos
4

Install Laravel to an existing folder

Previously laravel installer allowed me to install laravel within a current directory using laravel new Now it outputs an error message:...
Create a New Discussion Button