Before & After commit hooks
Before & After commit hooks

Adds callbacks for creating/created/updating/updated models on a
controller.

Callbacks can be defined in controllers that inherit the
`EloquentController`.

```php
class UsersController extends EloquentController
{
    protected function creating(Model $model)
    {
        // Before the model is created.
    }

    protected function created(Model $model)
    {
        // After the model has been created.
    }

    protected function updating(Model $model)
    {
        // Before the model is updated.
    }

    protected function updated()
    {
        // After the model has been created.
    }
}
```

---

See #11 for a bit more discussion.`

cloudcreativity/laravel-json-api