serafim/laravel-annotations

Laravel annotations bridge
991 2
Install
composer require serafim/laravel-annotations
Latest Version:1.0.6
License:MIT
Last Updated:Dec 9, 2017
Links: GitHub  ·  Packagist
Maintainer: Serafim

Laravel-Annotations

This is a Doctrine Annotations bridge for Laravel 5+

Installation

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

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

Related Packages

laravel-doctrine/migrations

Doctrine Migrations for Laravel

2,913,809 78
laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

5,573,888 840
laravel-doctrine/extensions

Doctrine extensions for Laravel

3,618,827 49
laravel-doctrine/fluent

A fluent PHP mapping driver for Doctrine2.

449,492 43