Skip to content

Instantly share code, notes, and snippets.


Chris Reid ChrisReid

  • Manchester UK
View GitHub Profile
ChrisReid / Model.php
Last active Aug 29, 2015
Laravel trait to maintain created_at and updated_at columns in Laravel models.
View Model.php
?php namespace App;
use Illuminate\Database\Eloquent\Model;
class Quote extends Model {
use TracksUsers;
ChrisReid / boys_names.php
Last active Dec 15, 2015
PHP Array of boys names and girls names. I use this to seed databases.
View boys_names.php
return array(
You can’t perform that action at this time.