Support the ongoing development of Laravel.io →

How to clean up this code? Dynamically setting property names, eager loading, handling arrays

WARNING: NASTY PROCEDURAL CODE AHEAD. Let's say I have an ajaxified to-do list app. I have this rout...

0 Likes
0 Replies
posted 10 years ago

Fetching data from Flickr not working

Hello, I am using this library - https://github.com/Anahkiasen/flickering to get data from Flickr. B...

0 Likes
0 Replies
posted 10 years ago

Session Facade Not Working Properly When Not Used In Controller

Hi all, I have created a class that I reference a as controller helper to further split out business...

0 Likes
1 Replies

Same route::controller('/') with different controllers

I've been trying to organize my route like this ( Laravel 4.1 ) Route::controller('/', 'HomeControll...

0 Likes
1 Replies

[Tutorial] Model Validation using Observers

Hi guys, I have recently posted a new tutorial on something that seems to have been missed by the La...

0 Likes
2 Replies

Ho boy - I have a very large query with > 10 joins - is there a way I can do it with Eloquent?

I've been searching and hacking away for the past few hours now. I have a bunch of models. They're...

0 Likes
0 Replies
posted 10 years ago

Foreign Keys without schema builder

I've been building most of my database tables without the use of the schema builder. I need to creat...

0 Likes
4 Replies
Solved

Is it possible to call directly from a class.

Hi all, I'm still chipping away at learning Laravel. Coming along slowly though. :-/ In my db class...

0 Likes
2 Replies

Eloquent nested eager loading : bug or fail syntax ?

Hi all :), First of all : I opened a help paste here describing the core of the problem. I did many...

0 Likes
0 Replies

Best practices or better way to achieve these relationships

I'm developing an application system. Breakdown is there are Events and Districts - the Application...

0 Likes
0 Replies

public_path helper returns empty string after changing laravel directory structure

I just can't seem to get the public_path helper working after changing my directory structure. It's...

0 Likes
1 Replies

Havve Any Idea to make automatically or dynamically routes laravel 4?

i have some problem to make routes in laravel, i have a package then i call from routes it is work f...

0 Likes
1 Replies

Support RSS

Are there any plans to provide an RSS feed for laravel.io? I don't seem to find anything on the web...

0 Likes
1 Replies
Solved
posted 10 years ago

->contains() with morphToMany

Trying to do this, but the "contains" method doesn't work... anyone know why, or how I sho...

0 Likes
1 Replies

Minify your HTML

Laravel HTML Minify This package compresses the HTML output from your Laravel application, seamlessl...

0 Likes
1 Replies

select user followed person's post

users id follows id user_id follow_id posts id user_id let say i am user A and i followed user B. I...

0 Likes
0 Replies

including views with contollers

I'm going to ask the same question here that I did on the old forum, because I didn't know the new f...

0 Likes
9 Replies

How to properly design interchangeable user repository implementation?

I want the repository to be interchangeable, so I'm not dependant on Eloquent. I therefore have an i...

0 Likes
0 Replies

Validation exception with different results

I am creating Validation service witch throws ValidationException if error ocured. That works fine,...

0 Likes
0 Replies
posted 10 years ago

Munich, Germany

I recently created the Laravel User Group Munich and would like to invite anyone living in (or visit...

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.

© 2024 Laravel.io - All rights reserved.