Checkout the chunk method: Mymodal::chunk(500, function($results) { foreach($results as $result) {...
'options' => array(PDO::MYSQL_ATTR_MAX_BUFFER_SIZE => 16777216), This is what I've used in...
The metable_type field is used with polymorphic relations, where the Eloquent class name is stored a...
We are successfully using http://www.ioncube.com/ on a couple of projects. Just encrypted all files...
If using Eloquent this should work: Tag belongsToMany('Item') Item belongsToMany('Tag') Item::where...
The Laravel portal for problem solving, knowledge sharing and community building.
The community