Support the ongoing development of Laravel.io →
alainbelez

alainbelez

Joined 11 Feb 2014

Statistics

Threads 16
Replies 68
Solutions 14
Articles 0
posted 11 years ago

package development question

Hi, i'm trying to make my modules to packages so i can reuse them on other projects. i followed jaso...

0 Likes
3 Replies
posted 11 years ago

scope with select

public function scopeGroupByMonth($query) { return $query->select(DB::raw('*, MONTH(display_da...

0 Likes
2 Replies
Solved
posted 11 years ago

filter collection with children

$categories = Category::with(['posts'=> function($query) { $query->take(4); }])->get() $...

0 Likes
5 Replies
posted 11 years ago

don't hide pagination when only one page

how to show pagination even if there is only one page?

0 Likes
3 Replies
posted 11 years ago

check current content-type

how do you check the content type? when using the code below App::after(function($request, $response...

0 Likes
0 Replies
replied 10 years ago

Session not functionning

token mismatch means you didn't set the csrf token in the login form

0 Likes
Solved
replied 10 years ago

Trigger function on Session expire

maybe create an cron job that cross references the user_id with the user_id in the session table (5....

0 Likes
replied 10 years ago

Store Locator in Laravel

sorry if this may sounds rude. maybe you could start by reading the docs. add everything in the cont...

0 Likes
replied 10 years ago

is Laravel PHP7 compatible?

the one i posted above.

0 Likes
replied 10 years ago

is Laravel PHP7 compatible?

that's what i thought too, but vanilla PHP works on my VM but laravel wont

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.