PHPackages                             spacetab-io/db-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. spacetab-io/db-config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

spacetab-io/db-config
=====================

Creates a DSN string from an array. Supports Connection URI's and Connection Key-Value strings.

1.0.0(6y ago)16321MITPHPPHP &gt;=7.4CI failing

Since May 5Pushed 6y ago2 watchersCompare

[ Source](https://github.com/spacetab-io/db-config-php)[ Packagist](https://packagist.org/packages/spacetab-io/db-config)[ RSS](/packages/spacetab-io-db-config/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (1)

DB Config
=========

[](#db-config)

[![CircleCI](https://camo.githubusercontent.com/95682b2482baa111514db51409f6d3359e8b9eb436c29f501a210ae2e6722482/68747470733a2f2f636972636c6563692e636f6d2f67682f73706163657461622d696f2f64622d636f6e6669672d7068702f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/spacetab-io/db-config-php/tree/master)[![codecov](https://camo.githubusercontent.com/f0052cf2a77de9aaee425299e53f0149408e525f67d2ac49c0eb47be77a20b64/68747470733a2f2f636f6465636f762e696f2f67682f73706163657461622d696f2f64622d636f6e6669672d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spacetab-io/db-config-php)

Creates a DSN string from an array. Supports Connection URI's and Connection Key-Value strings.

Installation
------------

[](#installation)

```
composer require spacetab-io/db-config
```

Spec
----

[](#spec)

```
db:
  default: #
