Zach Silveira shares good snippets that can help you with your Laravel PHP projects.

Laravel snippets

Laravel has a ton of useful features built in. Most of the documentation however, is geared towards a classic application setup. They assume you're going to use Laravel's own view system. These snippets I'm about to share are a valuable addition to any app, but may be geared towards those who have Laravel act as an API and nothing more.