Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Doctrine Generic Types

Doctrine Generic Types Laravel Package

vanio/doctrine-generic-types

Adds support for generic types in Doctrine mappings, letting you declare typed collections and associations for better static analysis and IDE autocompletion. Integrates with PHPStan and Psalm to catch type errors in your entities early, with minimal setup and no changes to how your entities behave...

View on GitHub
Deep Wiki
Context7

vanio/doctrine-generic-types adds reusable, generic column types to Doctrine DBAL. It helps avoid duplicating custom type classes when multiple mappings share conversion behavior, keeping database logic centralized and entity mappings clean.

  • Define generic DBAL types once and reuse them across mappings.
  • Wrap common conversion rules around existing Doctrine types.
  • Register custom types via Doctrine’s standard type registry.
  • Reduce boilerplate for value-object and collection columns.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections