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

Polymorphic Doctrine Laravel Package

pechynho/polymorphic-doctrine

Adds polymorphic relationships to Doctrine ORM, letting entities belong to multiple parent types through a single association. Simplifies morph-style mappings, queries, and persistence while keeping Doctrine entities clean and maintainable.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
arthem/object-reference-bundle 0.83 Doctrine ORM bundle that stores references to any entity as a type and ID pair, using the ObjectReference attribute and lazy closures so relations stay lightweight and framework-agnostic. 0 0 0 45 0 19.3 26.7 — 4 weeks ago
View on GitHub
pindab0ter/constrained-morph-to-for-laravel 0.82 Type-constrained polymorphic relationships for Laravel Eloquent. Extend morphTo to accept only specified model types, ensuring type safety and data integrity while keeping the flexibility of a polymorphic database structure. 3 3 1 3K 0 17.5 45.9 MIT 2 months ago
View on GitHub
fidum/laravel-eloquent-morph-to-one 0.82 Adds a MorphToOne relationship to Laravel's Eloquent ORM, letting a model own a single polymorphic related record. Useful when a parent has exactly one morph child, mirroring MorphMany but returning a single model with lazy and eager loading support. 34 — 4 — 0 14.4 — MIT 3 months ago
View on GitHub
beberlei/doctrineextensions 0.81 A set of useful extensions for Doctrine ORM/DBAL, adding extra DQL functions and database features such as date/time, string and math functions. Helps bridge common SQL capabilities across platforms and improves query expressiveness in Doctrine. 2,101 2,111 416 1M 0 32.0 55.7 NOASSERTION 2 years ago
View on GitHub
besimple/doctrine-types-bundle 0.81 — 5 5 1 0 0 0.1 — — —
View on GitHub
Context7
davidwesdijk/laravel-polymorphic-eav 0.81 Add flexible, polymorphic EAV attributes to any Laravel model. Store custom fields as attribute-value pairs without schema changes, attach them to multiple models, and query them with familiar Eloquent syntax. Great for dynamic product or user metadata. 6 6 4 0 2 0.7 0.4 MIT 5 years ago
View on GitHub
rapidwebltd/improved-polymorphic-eloquent-builder 0.81 Improve polymorphic relationship querying in Laravel with a cleaner Eloquent builder API. This package helps you filter and chain queries across morph types more expressively, reducing boilerplate when working with polymorphic models. 11 — 1 — 0 0.4 — LGPL-3.0 8 years ago
View on GitHub
midnightluke/doctrine-relations 0.81 Adds Laravel-style relationships to Doctrine entities, letting you define hasOne, hasMany, belongsTo, and belongsToMany associations with simple attributes and query them through an intuitive, Eloquent-like API. 0 0 0 0 0 0.0 — MIT —
View on GitHub
masterfri/laravel-smart-relations 0.81 Laravel Smart Relations streamlines Eloquent relationship management in Laravel with smarter helpers and conventions for defining, querying, and working with model relations, reducing boilerplate and keeping model code cleaner and easier to maintain. 6 — 1 — 0 0.4 — — 7 years ago
View on GitHub
psalm/plugin-laravel 0.80 Laravel static analysis with built-in taint-based security scanning: traces user input from request to sink to catch SQL injection, XSS, shell injection, file traversal, SSRF, open redirects and timing-unsafe secret comparisons. Runs locally and in CI, no account or cloud upload. 346 346 79 142K 103 59.0 69.7 MIT 1 week ago
View on GitHub
benkle/doctrine-adoption 0.80 Adds a small Collector + Doctrine metadata listener to enhance inheritance mapping by “adopting” child entities into a parent with a named association. Register the loadClassMetadata listener manually (including for schema creation/CLI tools). 0 0 0 0 0 0.0 — MIT —
View on GitHub
moneo/laravel-morphmap 0.80 — 53 53 2 57 0 0.3 4.3 MIT —
View on GitHub
sebastiaanluca/laravel-auto-morph-map 0.80 — 53 55 9 224 0 0.9 6.9 MIT 5 years ago
View on GitHub
benkle/doctrine-adoption-bundle 0.80 — 0 0 0 0 0 0.0 — MIT —
View on GitHub
drjele/doctrine-type 0.80 Laravel package to add custom Doctrine DBAL types and mappings, improving schema introspection and migrations for non-standard database column types. Helps register and use bespoke types cleanly across your application. 0 0 — 0 — 0.0 — — —
View on GitHub
matthiasnoback/doctrine-orm-value-object 0.80 A Doctrine ORM integration for mapping PHP value objects as embeddables, with support for custom types and conversion between value objects and database columns. It helps keep domain models free of ORM concerns while persisting rich value objects transparently. 19 — 1 — 1 0.2 — — —
setono/doctrine-orm-trait 0.80 Setono Doctrine ORM Trait provides reusable PHP traits for Doctrine entities, adding common behaviour like timestamps and identifiers with minimal boilerplate. Drop the traits into your entity classes to cut repetitive mapping code and keep models clean and consistent. 0 — 0 — 0 12.8 — MIT 4 months ago
sitesource/laravel-polymorphic-settings 0.80 Laravel Polymorphic Settings lets you attach flexible key-value settings to any Eloquent model through a polymorphic relationship, with a simple API for storing, retrieving, updating, and managing configuration-like data per record. 0 0 0 2K 1 10.0 50.6 MIT 6 months ago
View on GitHub
cline/morphism 0.80 Central registry for Laravel polymorphic key mapping. Define which primary key column (id/uuid/ulid) each model uses in morph relations, with migration macros, optional strict enforcement, and config-based setup—ideal for package authors. 0 0 0 3K 0 7.2 50.0 MIT 8 months ago
View on GitHub
megogo/multiple-inheritance-bundle 0.80 Symfony bundle that brings multiple inheritance to PHP, letting classes inherit behavior from several parent classes at once. Helps share reusable logic across services without duplication. Installs via Composer and integrates with Symfony's service container. 5 5 2 0 0 0.0 — — —
View on GitHub
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console