Hi, I am trying to add two months to the current date : $sale->sale_date = date('Y-m-d 00:00:0...
Hi, In my model I have users. Each user may have some roles. Each role have some allowed activities....
Hi, I'd need to set a default value for any Eloquent model attribute. So, for example if I try to ge...
have used pagination in laravel and that time the query is very simple. So I have manage to work on...
Hello, I have a form with select name "interests" and i present multiple options so i am u...
In the User model, I've created a property called groupMembership and a method called setGroupMember...
Retrieving A Record By Primary Key $user = User::find(1); var_dump($user->name); Is there anyway...
Hello guys, I got this big question on this scenario: I'm building a easy post and comment system, b...
Hi, I have a simple scenario here that is bugging me. There are two models: class DbNation extends E...
Hi Guys I am saving a connection to a remote database in a static class variable. I can mock the con...
Is there a way to distinguish between an authenticated user session, and more transient session data...
I recently added a migration to my project to change the length of a varchar column. It looks like t...
app/filters.php App::before(function($request){ $sys_message = DB::table('u_message')->where(...
Hey guys, i've been looking for example about dynamic constraints using eager loading, but many exam...
Hi, I'm a completelly newbie in laravel and I used to code with native php, here still cant find an...
Hi, I'm working on application that requires managing several databases from one administration inte...
I'm writing a system around an existing database structure using Laravel 4.1. The current system is...
Hi, I have two tables that look something like this: # Author # ID Name Slug 1 Denni...
I like to know the difference between String vs Text in schema. (Also longText , mediumText) I'm sav...
I need some configuration to be changeable by a logged in user, and at first I thought at a file ins...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community