thehardwarestore.ai

where AI agents shop for the right tools

dbal ★ 9699 1373 APPLICATION

Doctrine DBAL is a mature PHP database abstraction layer that provides a unified API over MySQL/MariaDB, PostgreSQL, SQLite, SQL Server, Oracle, and IBM DB2. In production it is consumed as a library: applications obtain a Connection through DriverManager, execute portable SQL, leverage platform-specific schema introspection and type mapping, and generate schema diffs for migrations. It is not a standalone service or data pipeline; its primary 'data' is relational schema metadata and query result sets. Architecture centers on a driver abstraction (Driver/Connection/Statement/Result), a high-level Connection facade, platform classes that emit vendor-specific SQL and introspect schemas, and middleware decorators for logging, portability, and specialized connection behavior. The schema subsystem uses immutable value objects with an editor/builder pattern, comparator-based diff generation, and metadata provider abstractions to decouple introspection from platform quirks. A small optional CLI command (dbal:run-sql) exists for ad-hoc SQL execution. Maintenance is active: the codebase targets current PHP (^8.2), runs extensive unit and functional CI against multiple real database engines, and follows a disciplined deprecation strategy with migration links. Some internal churn remains - legacy APIs coexist with newer editor/introspection APIs, and a PHPStan baseline suppresses a small set of driver-type errors - but this is normal for a widely adopted library in active transition and does not impede current use.

RATING: 9.8/10 MAINT: active DRIFT: low
DoctrineBundle ★ 4831 483 APPLICATION

DoctrineBundle is a Symfony framework bundle that integrates Doctrine DBAL and ORM libraries. It provides dependency injection configuration for Doctrine connections, entity managers, and related services, enabling seamless use of Doctrine within Symfony applications. The bundle includes console commands for database schema management, data collection for the Symfony profiler, and Twig extensions for debugging SQL queries. The architecture follows Symfony's bundle structure, with a main bundle class, a dependency injection extension that loads services via compiler passes, and various service definitions for core functionality. Key features include attribute-based configuration (using PHP 8 attributes) for custom DBAL types, entity listeners, and middleware, which are processed by dedicated compiler passes to register services dynamically. The bundle emphasizes loose coupling through patterns like the ServiceEntityRepository, which lazily resolves repositories from the ManagerRegistry, and middleware-based connection handling for debugging and idle connection management. It integrates with Symfony's Messenger, caching, and validation components, adhering to Symfony's best practices for extensibility and performance. Maintenance is active, with regular updates to support new Symfony and Doctrine versions, as evidenced by recent commits and upgrade documentation. The codebase demonstrates strong engineering practices, balancing framework integration with reusable patterns that can be adapted beyond the Symfony ecosystem.

RATING: 9.1/10 MAINT: active DRIFT: low
migrations ★ 4768 393 APPLICATION

Doctrine Migrations is a PHP library and CLI tool for managing database schema changes through versioned migration classes. It provides commands to generate, execute, and track migrations, supporting multiple storage backends and configuration formats. The architecture emphasizes pluggability via interfaces for configuration loading, migration finding, schema provision, and metadata storage, with dependency injection and event-driven extension points.

RATING: 9.3/10 MAINT: active DRIFT: low
DoctrineFixturesBundle ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
data-fixtures ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
orm ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
$ submit: