PHPackages                             utopia-php/dsn - 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. [Framework](/categories/framework)
4. /
5. utopia-php/dsn

ActiveLibrary[Framework](/categories/framework)

utopia-php/dsn
==============

A simple library for parsing and managing Data Source Names ( DSNs )

0.2.1(2y ago)6194.5k↓20.1%2[1 issues](https://github.com/utopia-php/dsn/issues)[1 PRs](https://github.com/utopia-php/dsn/pulls)4MITPHPPHP &gt;=8.0

Since Oct 26Pushed 4mo ago6 watchersCompare

[ Source](https://github.com/utopia-php/dsn)[ Packagist](https://packagist.org/packages/utopia-php/dsn)[ RSS](/packages/utopia-php-dsn/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (8)Used By (4)

Utopia DSN
==========

[](#utopia-dsn)

[![Total Downloads](https://camo.githubusercontent.com/f86ab47603144a812c16ad08d249a06686bde78edbb4cab0abec6ce512b14725/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f64736e2e737667)](https://camo.githubusercontent.com/f86ab47603144a812c16ad08d249a06686bde78edbb4cab0abec6ce512b14725/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f64736e2e737667)[![Discord](https://camo.githubusercontent.com/b130cc39f0cd917f3fc3e9f94c08a8ba302c8b36d32d8914f5494c473a7070e6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f353634313630373330383435313531323434)](https://appwrite.io/discord)

Utopia DSN library is simple and lite library for parsing and managing Data Source Names or DSNs. This library aims to be as simple and easy to learn and use as possible. This library is maintained by the [Appwrite team](https://appwrite.io).

Although the library was built for the [Utopia Framework](https://github.com/utopia-php/framework) project, it is completely independent, **dependency-free** and can be used with any other PHP project or framework.

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/dsn
```

```
