Some boilerplate code for Laravel