• Stars
    star
    164
  • Rank 229,324 (Top 5 %)
  • Language
    PHP
  • Created over 13 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PHP Object Model Manager for Postgresql

POMM: The PHP Object Model Manager for Postgresql

https://secure.travis-ci.org/chanmix51/Pomm.png?branch=master https://scrutinizer-ci.com/g/chanmix51/Pomm/badges/quality-score.png?s=5766ac7091629c3af205bbcca8623bd2e8cfe85e https://poser.pugx.org/Pomm/Pomm/version.png https://poser.pugx.org/Pomm/Pomm/d/total.png

Note

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.

What is Pomm ?

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

How to install Pomm ?

The easy way: composer

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.

Using Pomm with a PHP framework

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.

How to contribute to Pomm ?

That's very easy with github:

  • Send feedback to @PommProject on twitter or by mail at <hubert DOT greg AT gmail DOT com>
  • Report bugs (very appreciated)
  • Fork and PR (very very appreciated)
  • Send vacuum tubes to the author (actual preferred are russians 6Φ12Π, 6Ж43Π, 6Ж38Π, 6C19Π)

Running tests

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

More Repositories

1

PommBundle

The Symfony2 bundle for Postgresql Object Model Manager
PHP
30
star
2

soft65c02

A 65C02 simulator
Rust
14
star
3

ParameterJuicer

Validator and cleaner for parameter sets.
PHP
13
star
4

elcaro

ELCARO - Pomm tutorial
PHP
12
star
5

SlapOM

Small Object Model Manager for LDAP.
PHP
12
star
6

slapOrm

A simple ORM for Ldap
PHP
7
star
7

sfMangoBagPlugin

Mary your doctrine database with MongoDB
PHP
6
star
8

sfMongoDBCachePlugin

Driver for symfony to handle the cache in a Mongo database
PHP
6
star
9

sfPgLookPlugin

Simple, Fast efficient ORM for symfony to take advantage of Postgresql's features
PHP
5
star
10

PommServiceProvider

The Pomm Extension for the Silex µFramework
PHP
4
star
11

PommGuardServiceProvider

Authentication and authorization manager for Silex
PHP
3
star
12

ztl_note

A zettelkasten note keeping software
Rust
2
star
13

pomm_weather_tutorial

This tutorial is deprecated and will be deleted soon
PHP
2
star
14

dotfiles

most used configuration files
Shell
2
star
15

vimfiles

My Vim configuration files
Vim Script
2
star
16

PommBooking

Pomm2 tutorial
1
star
17

ZTLNote

ZtlNote is an attempt to implement a zettelkasten organization method software.
Rust
1
star
18

sql-styleguide

personnal SQL coding style guide
1
star
19

scripts

Personnal scripts in ~/bin
Shell
1
star
20

agrum

POC for Query manager for Postgres in Rust
Rust
1
star
21

Obdmong

The simple Object Model Manager for Mongodb.
PHP
1
star
22

vim-config

My vim configuration
Vim Script
1
star
23

ztlnote

ZtlNote is an attempt to implement a zettelkasten organization method software.
Rust
1
star
24

slides-phpforum-2012

Slides de la présentation Pomm & Postgres au forum PHP 2012
JavaScript
1
star
25

toogworld

Shell
1
star
26

gobai

tag oriented webshop
PHP
1
star