I'm having a bunch of trouble with model scopes. I have one scope that works properly, called direct...
I'm having problems where I want empty strings or a zero to be stored as a NULL in the database. Her...
I have this basic model of a Contest with several Events, where each Player can have one result per...
Doh. Yeah, parantheses on $player->results() was the issue. I'm coming from Ruby where we don't h...
Nope, no go. Tried naming it scopeTest() and trying $players->contest->test(), still undefined...
Can I do that with my current class setup? Still new to Laravel and "proper" PHP coding, b...
Some further googling found two threads (one, two), but using DB::raw("NULL") gave the sam...
One small update - I didn't like initializing Fractal in the constructor, so I added this method to...
The Laravel portal for problem solving, knowledge sharing and community building.
The community