2017 © Pedro Peláez
 

library laravel-annotations

Laravel annotations bridge

image

serafim/laravel-annotations

Laravel annotations bridge

  • Saturday, December 9, 2017
  • by Serafim
  • Repository
  • 1 Watchers
  • 2 Stars
  • 497 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 173 % Grown

The README.md

Laravel-Annotations

This is a Doctrine Annotations bridge for Laravel 5+, (*1)

Installation

composer require serafim/laravel-annotations, (*2)

In app.php add:, (*3)

'providers' => [
    ...
    \Serafim\Annotations\LaravelServiceProvider::class,
]

Run php artisan vendor:publish if you want configure default behaviuor, (*4)

Usage

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, (*5)

The Versions