Skip to content

Instantly share code, notes, and snippets.

View ChrisReid's full-sized avatar

Chris Reid ChrisReid

View GitHub Profile
ChrisReid / Model.php
Last active August 29, 2015 14:21
Laravel trait to maintain created_at and updated_at columns in Laravel models.
?php namespace App;
use Illuminate\Database\Eloquent\Model;
class Quote extends Model {
use TracksUsers;
ChrisReid / boys_names.php
Last active December 15, 2015 12:19
PHP Array of boys names and girls names. I use this to seed databases.
return array(