Author: Povilas Korop

Change date format with Accessors and Mutators

Pretty common situation – you have a date field in the MySQL database, which has a default format of YYYY-MM-DD, but the users need to see/edit dates in MM/DD/YYYY. How do you handle it properly in Laravel?

Monday, June 22nd, 2015

Laravel 5.1: Names for route groups

A small new feature in Laravel 5.1 – just for those who want to group their routes a little more properly. Now we can add a prefix not only to routes, but to the route groups as well.

Monday, June 22nd, 2015