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: | 2024-11-16 15:03:13 |
Package Statistics | |
---|---|
Total Downloads: | 984 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 3 |
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