laravel-doctrine / orm

A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen

Home Page:http://laraveldoctrine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[PROPOSAL] Add all supported DOCTRINE_METADATA values to docs

colorninja opened this issue · comments

Package version, Laravel version

doctrine/orm:2.9.1
laravel-doctrine/orm: 1.7.7

I was unable to find the available metadata drivers in the documentation and had to look at the source code to figure it out.

They are listed in config/doctrine.php which most people will publish and see

| Available meta drivers: fluent|annotations|yaml|simplified_yaml|xml|simplified_xml|config|static_php|php

They are mentioned in the docs page for the config file
http://www.laraveldoctrine.org/docs/1.8/orm/config-file

Feel free to open a PR agains the docs repo is you think it needs mentioning else where

commented

Attributes is not mentioned as an available driver in the config file or the docs page for that file. I did find it mentioned here:
https://github.com/laravel-doctrine/docs/blob/1.8/orm/meta-data.md

But nowhere else. I thought it was not supported until I went scuba diving through the code

as said above, please submit a PR

commented