Skip to content

Commit b8bed0e

Browse files
Add installation note
1 parent c842a5b commit b8bed0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414

1515
*A fluent mapping driver for Doctrine2*
1616

17+
```
18+
composer require laravel-doctrine/fluent
19+
```
20+
1721
This mapping driver allows you to manage your mappings in an Object Oriented approach, separating your entities
1822
from your mapping configuration without the need for configuration files like XML or YAML.
1923
This is done by implementing the `LaravelDoctrine\Fluent\Mapping` interface, or extending the abstract classes
2024
provided with this package for an easier use:
2125
`LaravelDoctrine\Fluent\EntityMapping`, `LaravelDoctrine\Fluent\EmbeddableMapping` or `MappedSuperClassMapping`.
2226

23-
2427
This package provides a fluent Builder over Doctrine's `ClassMetadataBuilder`, aimed at easing usage of
2528
Doctrine's mapping concepts in Laravel. The builder adds syntax sugar and implements the same grammar that you
2629
might use in Laravel migrations.

0 commit comments

Comments
 (0)