Posts Tagged "laravel"

Ramblings of yet another developer!
  • Laravel Bug: Eloquent firstOrCreate() Broken With $casts Model Attribute

    Posted on Nov 09, 2017

    There's a bug with Eloquent's firstOrCreate() function where it doesn't work with the $casts attribute on the model; it will always either insert a new instance into the database or give a MySQL duplicate entry error.

  • Laravel to October CMS: The Differences (Part 3)

    Posted on Jun 12, 2015

    So last time we discovered that the C of our beloved MVC has gone. But given that we no longer have a routes.php file and all of the models are kept in plugins, it wasn't going to be able to work in the traditional Laravel way anyway. Click to read more.

  • Booting Eloquent Model Traits

    Posted on Jun 02, 2015

    So I've learnt a little Laravel/Eloquent trick today that is very much under-documented. Save for a casual mention in the Laravel documentation. Click to read more!

  • Laravel to October CMS: The Differences (Part 2)

    Posted on May 29, 2015

    So in the previous posts we covered the directory structure of October CMS and then pretty much stuck to plugins from thereon in. Plugins are a powerful beast but, from what we've seen, they don't differ that significantly from Laravel. That's not to say that plugins don't significantly change the game mind. So onto the next...

  • Laravel to October CMS: The Differences (Part 1)

    Posted on May 26, 2015

    Laravel is bloody great! I think most people who have ever had the pleasure to use it for a project have realised that. There's just one big sticking point that means it's just not suitable for a lot of small and medium-scale projects: it's a clean slate framework. Enter October CMS, a Laravel-based CMS platform. At its most basic, it's a reshuffle of Laravel with a lovely CMS section added which allows you some control over some settings, a media manager, user management tools and a 'CMS' section to give you some control over your views.