Related to Laravel 5 Route Annotations.
Related to Laravel 5 Route Annotations.
In short, annotations are notes about your code that live in the DocBlock. But PHP has the ability to read and parse these notes, and so you can use them to give your code directions. Opinions on them are varied.
This functionality was initially added in development version of Laravel 5, but it was finally removed from final release. At the moment this functionality is developed as separate package by Laravel Collective.
Resources: