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
Laravel Doctrine Factory

Laravel Doctrine Factory Laravel Package

stemble/laravel-doctrine-factory

Use Laravel's modern Eloquent factories with Doctrine entities. Drop-in replacement for the official frozen pre-8.x factory system, adding class-based factories, first-class states, relationship helpers, sequences, recycle, and afterMaking/afterCreating callbacks.

View on GitHub
Deep Wiki
Context7

Laravel Doctrine Factory brings Laravel’s modern Eloquent factory API to Doctrine entities. It is a drop-in replacement for the official Doctrine factories, letting you use class-based factories, first-class states, sequences, relationships, and lifecycle callbacks—without learning a different API.

  • Class-based factories via DoctrineFactory and Laravel’s HasFactory trait
  • First-class states with expressive methods like ->admin()
  • Relationship helpers including for(), has(), and magic methods
  • Sequences, recycle(), and callbacks (afterMaking / afterCreating)
  • IDE-friendly type inference through @implements HasFactory<YourFactory>
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