2017 © Pedro Peláez
 

symfony-bundle postgresql-type-bundle

This bundle extend support of postgresql for doctrine

image

fle/postgresql-type-bundle

This bundle extend support of postgresql for doctrine

  • Monday, October 10, 2016
  • by flecomte
  • Repository
  • 1 Watchers
  • 5 Stars
  • 3,081 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 16 Versions
  • 6 % Grown

The README.md

PostgresqlTypeBundle

Build Status, (*1)

Dependency Status, (*2)

Coverage Status, (*3)

SensioLabsInsight, (*4)

Overview

Supported Types

Add support to postgresql type., (*5)

  • Box
  • Point
  • Cidr
  • DateInterval
  • DateTime
  • DateTime[]
  • DateTime with TimeZone
  • Time
  • Time[]
  • Time with TimeZone
  • JSON
  • JSONB
  • int[]: array(-2147483648, 1, 2, 3, 4, 5, +2147483647)
  • bigint[]: array(-9223372036854775808, 1, 2, 3, 9223372036854775807)
  • text[]: array("Hello", "World")
  • text[][]: array("first" => "Hello", "last" => "World")

Supported Functions

Add support of functions., (*6)

  • CONTAINTS SELECT CONTAINTS(ARRAY[1,2,3], 2);
  • date_trunc date_trunc('hour', timestamp '2001-02-16 20:38:40')

ManyToAny

Add ManyToAny Annotation, (*7)

<?php

use Doctrine\ORM\Mapping as ORM;
use FLE\Bundle\PostgresqlTypeBundle\Annotation\ManyToAny;

/**
 * @ORM\Entity
 */
class MyEntity
{
    /**
     * @var mixed
     * @ManyToAny()
     */
    protected $mixedEntity;
    //...
}

Installation

Add the bunde to your composer.json file:, (*8)

{
    "require": {
        "fle/postgresql-type-bundle": "1.*@dev"
    }
}

Then run a composer update:, (*9)

composer.phar update fle/postgresql-type-bundle # to only update the bundle

Register the bundle with your kernel in AppKernel::registerBundles():, (*10)

<?php
$bundles = array(
    // ...
    new FLE\Bundle\PostgresqlTypeBundle\FLEPostgresqlTypeBundle(),
    // ...
);

Usage

Point

To use Point twig template:, (*11)

twig:
    form_themes:
        - 'FLEPostgresqlTypeBundle::Form/point_type_bootstrap3.html.twig'

The Versions

10/10 2016

dev-master

9999999-dev

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

10/10 2016

1.11

1.11.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

01/09 2016

1.10

1.10.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

23/08 2016

1.9

1.9.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

17/08 2016

dev-json_object

dev-json_object

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

16/08 2016

1.8

1.8.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

02/08 2016

1.7

1.7.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

27/07 2016

1.6

1.6.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

25/07 2016

1.5

1.5.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

12/07 2016

1.4.1

1.4.1.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

07/07 2016

1.4

1.4.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

28/06 2016

1.3

1.3.0.0

This bundle extend support of postgresql for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

29/07 2014

dev-dev

dev-dev

This bundle define postgresql types for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

25/06 2014

1.2

1.2.0.0

This bundle define postgresql types for doctrine

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lecomte Fabrice

postgresql doctrine

24/06 2014

1.1

1.1.0.0

This bundle define postgresql types for doctrine

  Sources   Download

MIT

The Requires

 

by Lecomte Fabrice

postgresql doctrine

14/03 2014

1.0

1.0.0.0

This bundle define postgresql types for doctrine

  Sources   Download

The Requires

 

by Lecomte Fabrice

postgresql doctrine