Go to content

Christopher Pecoraro - Building RESTful APIs with Laravel 5's Doc Block-based Controller Annotations

Handling RESTful API requests with Laravel PHP Framework resource controllers is already a cinch. With the arrival of Laravel 5, handling request routing has been made even easier by using a configuration-as-annotation approach. Controller annotations may take advantage of doc block-style syntax and then be compiled using Laravel's artisan command-line tool. I'll present this approach by providing a few examples and discussing some of the pros and cons. http://goo.gl/Hqjfhi

February 19, 2015