Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[RFC]: DsnProvider and Dsn VO

Offen
#146 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@tyrsson arbeitet bereits daran.

Seit 04.4.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

enhancement Lang Feature Refactor next minor Platform migration qa
Proposed Version

0.6.0

Basic Information

I am proposing the addition of a Dsn class.

Background

Currently, there is no contract around what a DSN is. We have to accept array|string and return a string. Its messy. This will allow each driver package to expose its own Dsn in a type safe way.

Considerations

Pgsql - Is at least one driver that I know of currently that uses a "connection string" but is not backed by a Pdo driver.

Proposal(s)

Will update this after some planning and solid code examples are built in a branch.

Appendix/Additional Info

No response

Vorherrschende Sprache
PHP
Sterne
18
Forks
8
Ø Merge
6 T. 11 Std.
Gemergte PRs (30 T.)
14

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus php-db/phpdb

Alle Issues in php-db/phpdb

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.