Support the ongoing development of Laravel.io →
posted 10 years ago

Override/replace \Illuminate\Database\Query\Builder for database queries

Groups::find(1); class Groups extends BaseEloquent { } class BaseEloquent extends Eloquent {...

0 Likes
0 Replies

Same request in laravel and in phpMyAdmin give different result, why ?

Hi I execute a request with Db::raw in my laravel model. When i do the same request in phpmyadmin, t...

0 Likes
0 Replies

How would I pass in the request class to my abstract class? (Laravel 5)

Hi guys, I'm developping an API and because I have (mostly) the same functionality I've created an a...

0 Likes
1 Replies
posted 10 years ago

unable to withTrashed() using eager load

hi guys, here is my model: public function GetArticle($query, $parent = NULL, $showDeleted = false,...

0 Likes
0 Replies
posted 10 years ago

Laravel 5 assets directory

I just noticed new directory /resources/assets That's where all of my css/js/images should go for n...

0 Likes
2 Replies
Solved
posted 10 years ago

BindingResolutionException Target [Illuminate\Database\Eloquent\Model] is not instantiable

I have strugging with below error. It is not about interface error but model error. I don't know wha...

0 Likes
0 Replies

how to implements repository for polymorphic relations

hello, This is my first thread. I m very newbie to Laravel. I have vehicle class morphTo(Bus) and Mo...

0 Likes
1 Replies
Solved
posted 10 years ago

New to Laravel, mysterious error, how to find offending code?

I'm getting an error which I understand but can't find the offending code. What is the proper proce...

0 Likes
7 Replies
Solved
posted 10 years ago

Hide or show div if status is active or inactive by data key.

To save time posting all this again, here is a link: http://stackoverflow.com/questions/26188556/hid...

0 Likes
0 Replies

Integrity constraint violation

Hi, I try to create a small CRM with "leads", notes about leads", clients" and &...

0 Likes
3 Replies

Laravel problem with vhosts routing on XAMPP

I use XAMPP localhost server and I recently got into possession of a introductory book regarding Lar...

dialeleven liked this thread

1 Likes
0 Replies

Using Sentry and Facebook login: Call to undefined method

I'm trying to integrate fb-connect in Laravel using Sentry instead of the default Authentication pac...

0 Likes
0 Replies
posted 10 years ago

View not found Laravel 5

Running this view()->exists('backend.pages.profile') returns true. But running this return view(...

0 Likes
6 Replies
Solved

Upgraded from 4.0 -> 4.1 per docs. Form::select() not working anymore

This worked fine prior to upgrading from 4.0 to 4.1. Code didn't change: In by blade .. {{ Form::ope...

0 Likes
1 Replies
Solved
posted 10 years ago

trouble accessing variable in view that was set from a filter

Is this a filter order issue? In the first filter I set up a object needed for authentication (later...

0 Likes
1 Replies
Solved

Onetomany relation return null in one side

i have a one to many relation that return value on one side and null in the other side !! class Part...

0 Likes
1 Replies

How to create double authentication for 2 tables

I am currently stuck with an issue on my laravel application. The default Auth::filter that came wit...

0 Likes
0 Replies
posted 10 years ago

Changing property name of an eager loaded relation

I've a Upload model that morphTo some other models like Post. When I fetch posts I want to eager loa...

0 Likes
1 Replies
Solved

Upgraded from 4.0 -> 4.1 per docs. Laravel doesn't think user is authenticated.

I am trying to upgrade our site from 4.0 to 4.1 per the Laravel docs. The site worked fine prior to...

0 Likes
3 Replies
Solved
posted 10 years ago

AND operator query

I am trying to fetch 3 values from 2 select forms and 1 date form and compare it to the one's on my...

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.