atournayre/doctrine-types-bundle
doctrine/dbal and doctrine/orm).PlatformTools and custom types. The bundle’s value is unclear unless it offers pre-built, battle-tested types (e.g., for PostgreSQL’s jsonb, MongoDB-like types, or custom serializers). A TPM should validate if this bundle provides unique functionality or is a thin wrapper around existing solutions (e.g., ramsey/uuid-doctrine).doctrine/dbal:^3.6, which is compatible with Laravel’s Doctrine Bridge (e.g., laravel-doctrine/orm). However, Laravel’s primary ORM is Eloquent, which abstracts away DBAL types. Integration would require:
doctrine/dbal integration), which defeats the bundle’s purpose.symfony/dependency-injection, symfony/config, and symfony/http-kernel, which are not used in Laravel. This suggests the bundle is Symfony-first, complicating integration. A TPM must decide whether to:
atournayre/types) may have unclear licensing or maintenance status.ramsey/uuid, spatie/laravel-activitylog) or an extension?PlatformTools)?doctrine/dbal extensions, custom Eloquent attributes) that achieve the same goal with lower risk?Doctrine\DBAL\Types\Type) instead of using this bundle?laravel-doctrine/orm or doctrine/orm directly, the bundle might integrate by extending Doctrine’s type system. However, this requires:
Doctrine\DBAL\Types\Type::addType().symfony/* dependencies may conflict with Laravel’s container or config systems. Mitigation strategies:
php artisan doctrine:schema:validate).config/app.php (Laravel) or config/bundles.php (Symfony).Type registry to Laravel’s container.@Type("custom_type")).#casts for type handling.Doctrine\DBAL\ConnectionEvents to transform types on query execution.doctrine/dbal directly for type definitions.vendor/package-types) and use it directly in Laravel without Symfony dependencies.doctrine/dbal:^3.6, which aligns with Laravel’s Doctrine Bridge (typically doctrine/dbal:^3.5 or ^3.6). However:
laravel-doctrine/orm:^2.0).How can I help you explore Laravel packages today?