Support the ongoing development of Laravel.io →

1,678 Threads

Laravel/Passport scope issue

Hi Laravel IO developers. I'm facing an issue with Laravel/Passport scopes. An error occurs when i u...

0 Likes
0 Replies

Call to undefined method App\UserPackage::get05Attribute()

I am trying to use $appends laravel feature see Docs to add a custom attribute to my Model instance....

0 Likes
0 Replies

How to use more than 3 subquery in model relationship

User::select(array('name', 'profile_pic', DB::raw("IFNULL((select TRUNCATE(avg(seller_communica...

0 Likes
1 Replies
Solved

Composer install fail on PHP 7.2 for Laravel 6.x

According to Laravel 6.x docs it has following PHP dependency. However fails composer install since...

0 Likes
4 Replies
Solved

Invalid request (Malformed HTTP request)

Hi, I keep getting issues with my web service. The problem appears about twice a week. My logs say:...

0 Likes
0 Replies
posted 5 years ago

I need help using Kenyan payment gateway

I am implementing a kenyan gateway platform for a project am working on and i cant seem to find my w...

0 Likes
1 Replies

"Class view does not exist", phpunit with code coverage

I'm trying to add the code-coverage report feature for phpunit in Laravel 6 by following the tutoria...

0 Likes
0 Replies

Try to get some data from an object

Hello everybody, I have this SQL Query : ->select('herbs.name as hname', 'herbs.scina...

0 Likes
0 Replies

Internal Server Error Laravel Website

I need help from anyone who can help me figure this out. The company I work for has a website built...

1 Likes
12 Replies
Solved

Displaying most viewed items from database in last 7 days

I am trying to change the view style of my site, which is actually set to display two pictures which...

0 Likes
1 Replies

Help to covert SQL query to laravel query builder

Hello, I am new to Laravel. As the name applies I need a small help to convert this SQL query to lar...

0 Likes
2 Replies
posted 5 years ago

laravel validation issue with axios post request

I am sending axios post request with selectedData : { no: 5, purchase_date: '2020-04-20', stock:10,...

0 Likes
1 Replies
posted 5 years ago

how to get last inserted id in laravel 6?

how to get last inserted id in laravel 6? Bettar Soulution? for

0 Likes
6 Replies
posted 5 years ago

api on production not working

Hello I created my first laravel project. On localhost all works fine. Now I put my project to a web...

0 Likes
2 Replies

HttpKernel \ Exception \ MethodNotAllo

Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message.. kindly ass...

0 Likes
1 Replies

Laravel Validation Rule Create a Post

Clavvan Laravel make Validation if Post Only Can Create in 1 month, so user create any post again in...

0 Likes
0 Replies

Data insertion in 4 tables with relationship

Hi i have a problem inserting data to 4 tables. Customers : with data of customers. this table hasMa...

0 Likes
0 Replies

Laravel 7 - Component: Provide data without a view

I want to create a Component that provides only data without a view. For example: <x:wg.items.lis...

0 Likes
0 Replies

Call model function

Hi, I have been approaching Laravel for a few days. My simple question, considering that I have done...

0 Likes
0 Replies

Vue SPA with Laravel 6 Passport

Background: The only experience I have with authentication are normal form-based logins, the typical...

1 Likes
11 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.