ajsmith_codes ajsmith_codes
2

Ajax request data returns as object - how to populate multiple inputs?

I make an Ajax call to get contact data. I had it working where I was getting 1 piece of data: email. The returning data would populate into an input: $('input[name="e...
laracoft laracoft
3

1 instance of Laravel with multiple subdomains

My initial question is, how do you guys setup a front and backend with 1 instance of Laravel? www.website.com and www.website.com/admin...
RFFRED RFFRED
1

Help... Livewire setup

I am having trouble setting up livewire with L8 I followed the https:...
Paul_nld Paul_nld
3

How to get Last row from table from a user

I have a table in which I register various activities. The table lists all activities of all users, now I want to have the last activity of a user. how can i do that everyt...
krishbala96 krishbala96
6

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...
Hekmatyar Hekmatyar
2

How to save data from checkbox

https://flareapp.io/share/OmVkz8P8#F40 ERROR...

Problem with registering user through service with Passport in Laravel

I am building registration form with Passport in Laravel using repository pattern, and when I try to register with postman I get error Undefined property: Il...
SimonAngatia SimonAngatia
13

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
13
61

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...
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...
yoeriboven yoeriboven
3

Eager Loading not possible

I'm using Laravel Cashier Paddle (docs - package) and havi...
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...
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....
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...

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...
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
67
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...
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
122
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....
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
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:...
daniels daniels
2

How to ignore project directory in laravel public folder.

I have a full PHP project on public folder that i need Laravel to ignore, however, Laravel catches the routes as 404. example:...
CarlEOgden CarlEOgden
1

Laravel / Spatie / Mailgon webhooks - invalid signature

Hi Got a puzzling one, we installed laravel-spatie-webhook-client on our Laravel 7 server and have entered out api key in webhook-config.php 'signing_...
frumentius frumentius
0

From where the 'verify()' and 'resend()' function get it's User instance?

I'm in the middle of learning this code: /vendor/laravel/ui/auth-backend/VerifiesEmails.php public function veri...
Rjonwal Rjonwal
4

How to set role name in prefix dynamically for same route group in laravel5.8

Hello , I want to create dynamic prefix name according to logged user role name like for a same route group if admin is login in admin panel then url like...
Laravel
4
126
afoysal afoysal
9

GIT pushing

How to push code to github after development ? I cloned a repo from github then I worked on it. I am in Master branch in my local Machine. I have to push in another...
Laravel
9
102
van1310 van1310
5

Session destroy after redirect other route?

my question is when my session is destroy then redirect not in login i want to redirect another route so how to set route and where is set the route in which file or contro...
lse123 lse123
1

what password hash is the Laravel using for Passwords???

what password hash is the Laravel 8.x using for Passwords??? I needed to create the ONE USER needed for the app, only one manually, without the Register form because...
Shiva Shiva
8

Deleting from a json file

I have a json file that looks like this { "product_1": { "category_1": "Category 1", "...
Create a New Discussion Button