| Package Data | |
|---|---|
| Maintainer Username: | Serafim |
| Maintainer Contact: | nesk@xakep.ru (Nesmeyanov Kirill) |
| Package Create Date: | 2016-05-09 |
| Package Last Update: | 2017-12-09 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-27 15:03:29 |
| Package Statistics | |
|---|---|
| Total Downloads: | 986 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
This is a Doctrine Annotations bridge for Laravel 5+
composer require serafim/laravel-annotations
In app.php add:
'providers' => [
...
\Serafim\Annotations\LaravelServiceProvider::class,
]
Run php artisan vendor:publish if you want configure default behaviuor
use octrine\Common\Annotations\Reader;
app(Reader::class)->getClassAnnotations($reflection);
// or app('annotations')->..
NOTE: For more information about annotations read: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/annotations.html