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

OrderBy WhereHas

$headlines = Post::whereHas('categories', function($query) { $query->where('name', '=', 'headlin...

0 Likes
3 Replies

Setting Database connection for Many To Many Eloquent relationship

Hi, I'm working on application that requires managing several databases from one administration inte...

0 Likes
1 Replies

Files to copy when moving from development to productio

I am a codeigniter convert to Laravel and I am impressed by its features. However, theres is one thi...

0 Likes
10 Replies

Interface/Repository to multiple models

I'm writing a system around an existing database structure using Laravel 4.1. The current system is...

0 Likes
8 Replies
posted 11 years ago

OrderBy with my custom attributes

Hi, I've tried to figure out if this is possible, but can't figure out how if it's even possible. Le...

0 Likes
4 Replies

Load different template on different request

I do have 2 different on my pages but I would like to load in different situation, for example when...

0 Likes
1 Replies

Loosing relationship when doing ->select(...)

Hi, I have two tables that look something like this: # Author # ID Name Slug 1 Denni...

0 Likes
3 Replies
posted 11 years ago

Multiple mail "to"

Hello Laravel Folks, How can I specify multiple email addresses in the Mail::queue function? Do I ch...

0 Likes
1 Replies
posted 11 years ago

Compiling or pipelining Sass assets

I need a comprehensive guide on how to do it. I already tried LaravelGuard from Jeffrey Way (which d...

0 Likes
0 Replies

Creating migrations on a web server

I am following the laravel tutorial guide for the creation of migrations. In the guide, it says to u...

0 Likes
2 Replies

Sending automated emails based on user notification settings

Hello, I am currently working on automated user notifications (Emails and cell phone text messaging)...

0 Likes
13 Replies

Make Laravel packages stable

Laravel composer want stable as minimum-stability. If I attempt to install my own package I've to se...

0 Likes
3 Replies

Laravel + Angular Js : File Data problem

Hello I develop a website with Laravel and AngularJs for my studies, But i've a problem with "f...

0 Likes
0 Replies

Password reset function

Hello all, I tried implementing my own version of the Laravel password reset functionality. The main...

0 Likes
2 Replies

whereHas() within a where() sub-query.

Howdy! When I try to use a whereHas within a grouped where class, I get an error. Any ideas? $activi...

0 Likes
2 Replies
posted 11 years ago

Manning's 'Laravel in Action' Early Access is 50% off today

Head over to this link: http://www.manning.com/surguy/ Use this code when checking out: dotd021014cc...

0 Likes
0 Replies

Need help with laravel routing

So I'm trying to match a simple route with laravel that looks something like /ID-OPTIONAL/OPTIONAL2/...

0 Likes
1 Replies
posted 11 years ago

Laravel Routing

I am new to Laravel. I want port a URL shortening application from CI to Laravel. I am struck on the...

0 Likes
2 Replies

Trying to query a relation of a relation

##Problem I have an eloquent model "Invoice" that hasMany "InvoiceTicket" that b...

0 Likes
5 Replies

Different types of users

Hello everyone, I'm an absolute beginner to Laravel, and this is my first thread, so I hope I'm not...

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