Support the ongoing development of Laravel.io →

How can I use whereHas on a relation of a relation to the same table with Eloquent Query Builder?

I'm trying to run this query: $products = $this->product_model->where(function($query) use ($k...

0 Likes
0 Replies

MethodNotAllowedHttpException

Hey folks, I'm getting a MethodNotAllowedHttpException when trying to use the HTTP method DELETE for...

0 Likes
1 Replies

Generate Laravel Migrations using Xethron package Laravel 5

Create migration from database Step:1 -> run these commands separately 1: composer require --dev...

0 Likes
0 Replies
posted 9 years ago

Add relation to default User Class

Hi, I'm new to Laravel. I use the Laravel 5.2 default authentication; in App/User.php we have the de...

0 Likes
2 Replies
Solved

Validating pivot tables

I'm using the Form Request validation, but how do I validate my pivot tables? For example when I att...

0 Likes
0 Replies

Get details of reverse polymorphic, maybe a different way to approach this?

In this example: Tables Person id firstname lastname Company id companyname Item id attachedto_...

0 Likes
1 Replies
Solved
posted 9 years ago

How to create link with blade templating

I am trying to write a link (just like ahref) in my VIEW to another VIEW page in the app. How do I...

0 Likes
4 Replies
Solved
posted 9 years ago

laravel adaptor for psr-6 cacheing interfaces

Hello everybody I recently pulled down a package that was depended apron the new psr-6 cacheing inte...

0 Likes
0 Replies
posted 10 years ago

Selecting certain columns with Eloquent

I have Property model and in it I have relationships with few other tables. Here is an example for t...

0 Likes
5 Replies

Dingo API Authentication Parameters

Hello. I am trying to use Dingo's 'basic' api.auth middleware to protect my API endpoints. The user...

0 Likes
0 Replies

Intermediate page after submitting form but before saving model

I am trying to add essentially a "confirmation" (or "place order/go back") page...

0 Likes
1 Replies

Step-by-step course: Learn Laravel: Be a Web Professional

Hello people! I want to share the latest version of my course about Laravel. I read that some of you...

0 Likes
2 Replies

Laravel Homestead installation

I've already made all of the steps in This is a link, but i have some problems. When I want to "...

0 Likes
3 Replies
posted 9 years ago

Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed

Hi Guys, I'm having a problem with Laravel version 5.0.34 when I try to upload a file. I found some...

0 Likes
1 Replies

Populate dropdown based on previous selection

Hey guys, am trying to implement into my app ability to populate a select drop base on a previous se...

0 Likes
0 Replies

controller saving parameter from route

let assume there is a list of customers with routing like this: <ul> <li><a href=...

0 Likes
4 Replies
Solved
posted 9 years ago

New Major Release (2016.01) of Aimeos E-Commerce Package

Hi there Our new major version for Laravel 5 had been released today :-) It's now fully compliant to...

0 Likes
0 Replies

Something like hasManyThrough query

Hi guys, I'm trying to use something like my implementation of hasManyThrough query, could you pleas...

0 Likes
0 Replies
posted 9 years ago

migrate not giving any output or result

I'm using Laravel 5.2.6 and going through the "Laravel 5 Fundamentals"->"7. Migrat...

0 Likes
1 Replies

Storing values in sessions

I have an appointments page where I keep track of my appointments. I have several dropdowns which I...

0 Likes
0 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.

© 2025 Laravel.io - All rights reserved.