Release 2.0.0
Version 2 comes with a new definition was a DSN really is. It supports functions and a greater variety of DSN formats.
Changed
The Nyholm\Dsn
class has been replaced with Nyholm\Dsn\DsnParser
. To get a Dsn
object:
// Before
$dsn = new \Nyholm\DSN('mysql://localhost');
// After
$dsn = \Nyholm\Dsn\DsnParser::parse('mysql://localhost');
See change log for more changes