An open API service indexing awesome lists of open source software.

https://github.com/b2pweb/bdf-dsn

A simple DSN parser in PHP
https://github.com/b2pweb/bdf-dsn

dsn dsn-parser

Last synced: 2 months ago
JSON representation

A simple DSN parser in PHP

Awesome Lists containing this project

README

          

# dsn (data source name)
A simple DSN parser

[![build](https://github.com/b2pweb/bdf-dsn/actions/workflows/php.yml/badge.svg)](https://github.com/b2pweb/bdf-dsn/actions/workflows/php.yml)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/b2pweb/bdf-dsn/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/b2pweb/bdf-dsn/?branch=master)
[![Packagist Version](https://img.shields.io/packagist/v/b2pweb/bdf-dsn.svg)](https://packagist.org/packages/b2pweb/bdf-dsn)
[![Total Downloads](https://img.shields.io/packagist/dt/b2pweb/bdf-dsn.svg)](https://packagist.org/packages/b2pweb/bdf-dsn)

## Install via composer
```bash
$ composer require b2pweb/bdf-dsn
```

## Usage Instructions

A basic use of DSN.

```PHP
toArray());
```

Supports pdo dsn

```PHP
toArray());
```

## License

Distributed under the terms of the MIT license.