PHP code example of sergiors / doctrine-postgresql94platform-service-provider

1. Go to this page and download the library: Download sergiors/doctrine-postgresql94platform-service-provider library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sergiors / doctrine-postgresql94platform-service-provider example snippets


use Pimple\Container;
use Silex\Provider\DoctrineServiceProvider;
use Sergiors\Pimple\Provider\DoctrinePostgreSQL94PlatformServiceProvider;

$container = new Container;
$container->register(new DoctrineServiceProvider);
$container->register(new DoctrinePostgreSQL94PlatformServiceProvider);