Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

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": "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);
        }

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.