mbolka/pimcore-repository

Installs: 5 602

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 1

Open Issues: 1

Type:pimcore-bundle

v1.0.6 2020-07-09 07:25 UTC

README

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.