Support the ongoing development of Laravel.io →
filip01

filip01

Joined 2 Jan 2015

Statistics

Threads 7
Replies 3
Solutions 0
Articles 0
posted 11 years ago

Laravel select help?

Why i cant do this: Model::select("IF(premium > 0, 'yes', 'no')" as PremiumYesNo')->...

0 Likes
3 Replies

Ton of HttpNotFound Symphony/Component errors?

[2015-01-02 17:25:20] local.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpExc...

0 Likes
1 Replies
replied 10 years ago

Relationships to JSON?

public function ajaxScroll() { $take = Input::get('take'); $skip = Input::get('skip'); $articles =...

0 Likes
replied 10 years ago

Relationships to JSON?

Oh sorry my bad, i made it work. Thanks! However, how to send custom methods from User too?

0 Likes
replied 11 years ago

Laravel select help?

Or even easier example, Model::addSelect('COUNT(*) as total')->get();

0 Likes

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.

© 2026 Laravel.io - All rights reserved.