A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
537
stars
58
forks
source link
Feature/camel case hidden and date fields #30
Closed
cgwyllie closed 8 years ago
Make the
CamelCaseModel
trait handle hidden and date fields that were declared incamelCase
.With this, any
$hidden
attributes incamelCase
will not be visible whentoArray
is called on the model.In addition, any
$dates
attributes declared incamelCase
will be parsed intoCarbon
objects when set on the model.