This is the 1,x version of Pomm. This package is not maintained anymore, the stable Pomm 2.0 is the new generation of Pomm Model Manager.
Pomm is an open source Postgresql access framework for PHP. It is not an ORM, it is an Object Model Manager. Pomm offers an alternative approach than ORM to using database in object oriented web developments. Read more here.
Pomm devel works with PHP 5.4 and Postgresql 9.0 and above.
You can reach
Using composer installer and autoloader is probably the easiest way to install Pomm and get it running. What you need is just a composer.json
file in the root directory of your project:
{
"require": {
"pomm/pomm": "master-dev"
}
}
Invoking composer.phar
will automagically download Pomm, install it in a vendor
directory and set up the according autoloader.
With Silex, it is possible to bootstrap a kitchen sink using this gist <https://gist.github.com/chanmix51/3402026>, in an empty directory just issue the command:
wget -O - 'https://gist.github.com/chanmix51/3402026/raw/3cf2125316687be6d3ab076e66f291b68b422ce7/create-pomm-silex.sh' | bash
And follow the instructions.
That's very easy with github:
psql -c 'CREATE DATABASE pomm_test' -U postgres -h 127.0.0.1
psql -c 'CREATE EXTENSION hstore' -U postgres -h 127.0.0.1 pomm_test
psql -c 'CREATE EXTENSION ltree' -U postgres -h 127.0.0.1 pomm_test
phpunit --configuration tests/phpunit.travis.xml
Author: chanmix51
Source Code: https://github.com/chanmix51/Pomm