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

Doctrine2 Exporter Laravel Package

mysql-workbench-schema-exporter/doctrine2-exporter

Plugin for MySQL Workbench Schema Exporter that converts .mwb models into Doctrine 2 entity classes. Generate PHP entities, mappings, and relations directly from your MySQL Workbench diagrams, keeping your database schema and code in sync.

Deep Wiki
Context7

Product Decisions This Supports

  • Schema-first feature delivery: Enables a workflow where MySQL Workbench is the source of truth and Doctrine 2 entities are generated from the .mwb model, reducing manual model-writing for new modules.
  • Build vs. buy for schema import/generation: The MIT license and narrow scope make it a low-cost candidate for a small internal tool or proof of concept, but the low star count and plugin nature argue against treating it as a long-term platform dependency without a maintenance plan.
  • Roadmap fit for Doctrine-based PHP services: Most useful when the product already uses Doctrine ORM—common in Symfony-style or mixed PHP stacks. For an Eloquent-first Laravel product, the value is limited because generated Doctrine entities do not directly produce Laravel models or migrations.
  • Accelerating greenfield prototyping: Useful for quickly scaffolding entities from a visual schema, validating domain models early, and shortening the design-to-code loop for proof-of-concept or internal admin features.
  • Standardizing database-to-code handoff: Can reduce drift between database design and PHP entity definitions when the team already uses Workbench and the parent mysql-workbench-schema-exporter tooling.
  • Use-case screening: Strongest for bounded, schema-heavy modules with stable table structures; weaker for highly custom mappings, frequent bidirectional schema changes, or teams expecting an actively maintained, large-community package.

When to Consider This Package

Consider it when:

  • Your team already designs schemas in MySQL Workbench and wants repeatable generation of Doctrine 2 entity classes.
  • The application uses Doctrine ORM, or you are intentionally introducing Doctrine alongside Laravel for a specific service.
  • You are comfortable installing and operating the parent mysql-workbench-schema-exporter package; this repository is a plugin, not a standalone exporter.
  • You need a cheap, MIT-licensed starting point for an internal code-generation pipeline and can vendor, fork, or wrap it.
  • The schema is relatively conventional and you can review generated entities before committing them.
  • You want to evaluate whether generated entities plus migrations are faster than hand-writing models for a bounded pilot.

Look elsewhere when:

  • The product is Eloquent-first Laravel and expects app/Models classes, relationships, casts, and migrations directly. This package targets Doctrine 2, not Eloquent.
  • You need active maintenance, broad community support, or long-term vendor assurance. With roughly 25 stars and a modest opportunity score, it should be treated as a tactical tool, not a strategic dependency.
  • You require bidirectional sync, advanced custom-type mapping, or robust handling of legacy schemas without manual intervention.
  • Your workflow does not use MySQL Workbench or the parent exporter.
  • You cannot absorb the operational overhead of a small plugin in CI or developer tooling.

How to Pitch It (Stakeholders)

Executive summary: This is a small, MIT-licensed plugin that turns MySQL Workbench schemas into Doctrine 2 PHP entities. It can shorten the design-to-code cycle for Doctrine-based PHP work and reduce manual boilerplate, but it is not a fit for a standard Eloquent-first Laravel codebase and carries maintenance risk due to its small community. Recommended position: a low-cost pilot or internal productivity tool for a bounded Doctrine module—not a platform-level dependency.

Engineering summary: The package is a plugin for mysql-workbench-schema-exporter; adoption means adding the parent tool plus this exporter, then generating and reviewing entities from .mwb files. It is deterministic and easy to evaluate in a spike. The main engineering caveats are Doctrine-only output, limited community signals, and the need to own upgrades or fork if the project stalls. A sensible next step is a time-boxed pilot against one schema, with generated code reviewed and checked into version control rather than generated at runtime.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core