Hi, i'm trying to make my modules to packages so i can reuse them on other projects. i followed jaso...
public function scopeGroupByMonth($query) { return $query->select(DB::raw('*, MONTH(display_da...
$categories = Category::with(['posts'=> function($query) { $query->take(4); }])->get() $...
how to show pagination even if there is only one page?
how do you check the content type? when using the code below App::after(function($request, $response...
token mismatch means you didn't set the csrf token in the login form
maybe create an cron job that cross references the user_id with the user_id in the session table (5....
sorry if this may sounds rude. maybe you could start by reading the docs. add everything in the cont...
that's what i thought too, but vanilla PHP works on my VM but laravel wont
The Laravel portal for problem solving, knowledge sharing and community building.