-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.md
51 lines (39 loc) · 1.63 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# <a name="pimcore-repository"></a>Pimcore Repository
This module allows for using repository pattern instead of Active Record.
**Table of Contents**
- [Pimcore Repository](#pimcore-repository)
- [Description](#description)
- [Compatibility](#compatibility)
- [Installing/Getting started](#installing)
- [Usage/Setting up](#usage)
- [Features](#features)
- [Contributing](#contributing)
- [Licencing](#licensing)
## <a name="description"></a>Description
This package allows for using Repository pattern. It's design was based on Doctrine ORM. It contains Entity Manager, Unit Of Work, Default Pimcore Entity Repository.
## <a name="compatibility"></a>Compatibility
This module is compatible with Pimcore >= 5.2 and Pimcore 6.0.
## <a name="installing"></a>Installing/Getting started
- Add this repository to your composer json
```
"repositories": [
{
"type": "vcs",
"url": "git@github.com:mbolka/pimcore-repository.git"
}
]
```
- Install Pimcore Repository via composer ```composer require mbolka/pimcore-repository:dev```
- Register repository bundle in app/AppKernel.php file
- Create a new object of class IntegrationConfiguration
```
if (class_exists('\\Bolka\\RepositoryBundle\\RepositoryBundle')) {
$collection->addBundle(new Bolka\RepositoryBundle\RepositoryBundle);
}
```
## <a name="usage"></a>Usage/Setting up
## <a name="features"></a>Features
## <a name="contributing"></a>Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome.
## <a name="licensing"></a>Licensing
The code in this project is licensed under the GPL license.