diff --git a/README.md b/README.md index f4ade8f..015f01b 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,28 @@ $pdo = new \PDO( // Do something with pdo ``` +### PostgreSQL + +```php +withPostgresDatabase('database'); +$container->withPostgresUser('username'); + +$container->run(); + +$pdo = new \PDO( + sprintf('pgsql:host=%s;port=5432;dbname=database', $container->getAddress()), + 'username', + 'password', +); + +// Do something with pdo +``` + ### Redis ```php