2017 © Pedro Peláez
 

symfony-bundle hstore-bundle

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

image

intaro/hstore-bundle

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

  • Wednesday, December 17, 2014
  • by muxx
  • Repository
  • 3 Watchers
  • 5 Stars
  • 6,994 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

HStoreBundle

PostgreSQL module hstore allows to store sets of key/value pairs within a single PostgreSQL value. More about it here., (*1)

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore., (*2)

Installation

HStoreBundle requires Symfony 2.3 or higher., (*3)

Require the bundle in your composer.json file:, (*4)

````json { "require": { "intaro/hstore-bundle": "~0.0.2", } }, (*5)


Register the bundle in `AppKernel`: ```php // app/AppKernel.php public function registerBundles() { $bundles = array( //... new Intaro\HStoreBundle\IntaroHStoreBundle(), ); //... }

Install the bundle:, (*6)

$ composer update intaro/hstore-bundle

Installing the PHP extension

The package contains two versions of the HStoreParser as PHP extension. PHP extension is optional but as it brings some nice performance improvements, you might want to install it in your production environment., (*7)

PHP extension (PHP-CPP)

The first extension is written in PHP-CPP thats why you should install PHP-CPP before extension compiling., (*8)

The extension compiling:, (*9)

cd path/to/Intaro/HStoreBundle/Resources/phpcpp
make
sudo make install

Finally, enable the extension in your php.ini configuration file:, (*10)

extension = hstorecpp.so # For Unix systems

PHP extension (Zephir)

The second extension is written in Zephir thats why you should install Zephir before extension compiling., (*11)

cd path/to/Intaro/HStoreBundle/Resources/zephir
zephir install

Finally, enable the extension in your php.ini configuration file:, (*12)

extension = hstore.so # For Unix systems

The Versions

17/12 2014

dev-master

9999999-dev

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

  Sources   Download

MIT

The Requires

 

by Intaro Soft

postgresql symfony2 hstore

10/11 2014

v0.0.4

0.0.4.0

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

  Sources   Download

MIT

The Requires

 

by Intaro Soft

postgresql symfony2 hstore

10/11 2014

v0.0.3

0.0.3.0

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

  Sources   Download

MIT

The Requires

 

by Intaro Soft

postgresql symfony2 hstore

12/08 2014

v0.0.2

0.0.2.0

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

  Sources   Download

MIT

The Requires

 

by Intaro Soft

postgresql symfony2 hstore