Skip to content

mbolka/pimcore-repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Pimcore Repository

This module allows for using repository pattern instead of Active Record.

Table of Contents

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.

Compatibility

This module is compatible with Pimcore >= 5.2 and Pimcore 6.0.

Installing/Getting started

  • Add this repository to your composer json
"repositories": [
    {
      "type": "vcs",
      "url": "[email protected]: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);
        }

Usage/Setting up

Features

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome.

Licensing

The code in this project is licensed under the GPL license.