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

How to make Eloquent realtionship with two FK reference on same table to one PK in other table ?

I have a table which call matches , so i want to make relationship to other table teams with FK team...

0 Likes
0 Replies

Single Responsibility Principle. How can I design this code properly?

Hi guys; I have been struggling with this. I really appreciate some help. I don't know how to learn...

0 Likes
3 Replies
posted 10 years ago

Route model-binding and 404s

I have a simple case, where I want user-urls to be available by name, like this: users/john users/mi...

0 Likes
2 Replies

problem with view large data on browser?

I generate report in browser, but it has problem with the large data or multiple record viewed (brow...

0 Likes
0 Replies
posted 10 years ago

Excluding IDs from database result - how to design it properly?

Hello guys! I want to exclude some IDs from query result using whereNotIn() method. It's not a probl...

0 Likes
2 Replies
Solved
posted 10 years ago

Class 'Self' not found in [model path]

I have a completely working application on my local host and I'm looking to move the application to...

0 Likes
3 Replies
Solved
posted 10 years ago

Relationship OrderBy

Hi All, Hope everyone doing well... The orderBy is being ignored and has no affect whatsoever $a = B...

0 Likes
1 Replies

Anahkiasen/Former ignores state() setting

I'm trying to set the state of a field to 'error' when there is an error. To do this, I'm doing: {{...

0 Likes
0 Replies

Good Validation Service Pakage!

I use https://github.com/fadion/ValidatorAssistant.git for validator service. It is very good for me...

0 Likes
0 Replies

Auth::attempt() fails with ccovey/ldap-auth

I have installed ccovey/ldap-auth and am trying to get that hooked up. I have the config set up corr...

0 Likes
3 Replies
Solved
posted 10 years ago

Anybody need a Queue::Size() function

Anybody else have a need to see the approximate number of messages in a Queue? I'm thinking about i...

0 Likes
0 Replies

Artisan logout

Can I logout all users by using Artisan?

0 Likes
1 Replies

Route group wildcard prefix stops matching of non-wildcard defined routes

I have a route group that has a parameter prefix like so: Route::group(array('prefix' => '{countr...

0 Likes
1 Replies
posted 10 years ago

Restful / Resource Controller combined useage?

I would like to know if it's a good way to do things or if it's a no-go to use both (restful and res...

0 Likes
1 Replies

Eloquent -- Confused On How To Work With Lookup Tables?

I originally coded my application completely omitting models and just using raw queries in my own ty...

0 Likes
1 Replies

Binary(longblob) files from MySQL larger than 1MB are getting truncated when trying to copy table row to another table.

I am currently storing files in my mysql table. I have no problem saving large files in the table as...

0 Likes
2 Replies
posted 10 years ago

Anyone who used metronic themeforest template with laravel project?

Template: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?WT.ac=cat...

0 Likes
2 Replies

Error: file_put_contents failed to open stream

I'm just new in laravel. I'm using laravel 4.1, I encounter this error sometimes. {"error"...

0 Likes
3 Replies
Solved

Get 403 Forbidden despite having set permissions

I have created a fresh Laravel application by using composer create-project command. Then I put all...

0 Likes
0 Replies

Eloquent relationship passing array to view

Hi. Using this structure: http://stackoverflow.com/questions/20801859/laravel-eloquent-filter-by-col...

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.