2017 © Pedro Peláez
 

library model-manager

PHP Object Model Manager for Postgresql

image

pomm-project/model-manager

PHP Object Model Manager for Postgresql

  • Monday, August 7, 2017
  • by chanmix51
  • Repository
  • 10 Watchers
  • 56 Stars
  • 43,099 Installations
  • PHP
  • 8 Dependents
  • 5 Suggesters
  • 20 Forks
  • 26 Open issues
  • 11 Versions
  • 13 % Grown

The README.md

Pomm ModelManager

Latest Stable Version Scrutinizer Code Quality Build Status Monthly Downloads License, (*1)

ModelManager is a Pomm project package. It makes developers able to manage entities upon the database through model classes. It is not an ORM, it grants developers with the ability to perform native queries using all of Postgres’SQL and use almost all its types. This makes model layer to meet with performances while staying lean., (*2)

This package will provide:, (*3)

  • Model classes with all common built-in queries (CRUD but also, count and exists).
  • Flexible entities
  • Embedded entities converter
  • Model Layer to group model computations in transactions.

The model layer also proposes methods to leverage Postgres nice transaction settings (constraint deferring, isolation levels, read / write access modes etc.)., (*4)

Installation

Pomm components are available on packagist using composer. To install and use Pomm's model manager, add a require line to "pomm-project/model-manager" in your composer.json file. It is advised to install the CLI package as well., (*5)

In order to load the model manager's poolers at startup, it is possible to use the provided SessionBuilder in Pomm's configuration:, (*6)

$pomm = new Pomm([
    'project_name' => [
        'dsn' => …,
        'class:session_builder' => '\PommProject\ModelManager\SessionBuilder',
    ],
    …
]);

It is better to provide dedicated session builders with your project., (*7)

Documentation

The model manager’s documentation is available either online or directly in the documentation folder., (*8)

Tests

This package uses Atoum as unit test framework. The tests are located in sources/tests. This package also provides a ModelSessionAtoum class so the test classes can directly get sessions with the model and model layer poolers loaded., (*9)

The Versions

07/08 2017

2.0.x-dev

2.0.9999999.9999999-dev http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

15/05 2017

2.0.2

2.0.2.0 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

22/02 2017

dev-master

9999999-dev http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

04/12 2015

2.0.1

2.0.1.0 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

04/10 2015

2.0.0

2.0.0.0 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

29/06 2015

2.0.0-rc.3

2.0.0.0-RC3 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

06/05 2015

2.0.0-rc.2

2.0.0.0-RC2 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

17/03 2015

2.0.0-rc.1

2.0.0.0-RC1 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

06/02 2015

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

16/01 2015

2.0.0-beta.2

2.0.0.0-beta2 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql pomm

15/12 2014

2.0-beta-1

2.0.0.0-beta1 http://www.pomm-project.org

PHP Object Model Manager for Postgresql

  Sources   Download

MIT

The Requires

 

The Development Requires

orm database postgresql