Using PHP Enums in Laravel to store additional information
– www.csrhymes.com - submitted by Chris Rhymes
Sometimes it’s difficult to decide where to put code, trying to figure out where it really belongs. Laravel has a predefined folder structure that you can keep to for most scenarios, but I wasn’t sure whether the settings should be kept in a config file, a class, or somewhere else. In the end I decided to use an enum.
Read more [www.csrhymes.com]