Download the PHP package jonathanlight/meta-entity-builder-bundle without Composer
On this page you can find all versions of the php package jonathanlight/meta-entity-builder-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package meta-entity-builder-bundle
MetaEntityBuilderBundle
A Symfony bundle that generates Doctrine entities from YAML schemas with smart update detection, custom code preservation, and automatic backups.
Features
- YAML-based schema definition — Define your entities in a clean YAML format
- Smart update detection — Only regenerates entities when the schema changes (MD5 checksums)
- Custom code preservation — Code between
// @custom-code-startand// @custom-code-endmarkers is preserved across regeneration - Automatic backups — Timestamped backups before any file is overwritten
- PHP 8 attributes — Generated entities use modern Doctrine ORM attributes (
#[ORM\Entity],#[ORM\Column], etc.) - Fluent setters — All setters return
$thisfor method chaining - Collection helpers — Automatic
add*/remove*methods for*ToManyrelations - Event-driven — Dispatches events on entity generation and update
Requirements
- PHP 7.4+
- Symfony 5.4 | 6.x | 7.x
- Doctrine ORM 2.10+ | 3.x
Installation
Configuration
Schema Definition
Create your entity definitions in YAML:
Usage
Generate entities
Aliases available: meta:entity:generate, entity:generate
Custom Code Preservation
Generated entities include markers where you can add custom code:
Events
The bundle dispatches the following events:
Meta\EntityBuilderBundle\Event\EntityGeneratedEvent— When a new entity is createdMeta\EntityBuilderBundle\Event\EntityUpdatedEvent— When an existing entity is updated
License
Apache License 2.0 — see LICENSE for details.
All versions of meta-entity-builder-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
symfony/framework-bundle Version ^5.4|^6.0|^7.0
symfony/yaml Version ^5.4|^6.0|^7.0
symfony/console Version ^5.4|^6.0|^7.0
symfony/dependency-injection Version ^5.4|^6.0|^7.0
symfony/config Version ^5.4|^6.0|^7.0
symfony/event-dispatcher Version ^5.4|^6.0|^7.0
symfony/filesystem Version ^5.4|^6.0|^7.0
doctrine/orm Version ^2.10|^3.0
symfony/framework-bundle Version ^5.4|^6.0|^7.0
symfony/yaml Version ^5.4|^6.0|^7.0
symfony/console Version ^5.4|^6.0|^7.0
symfony/dependency-injection Version ^5.4|^6.0|^7.0
symfony/config Version ^5.4|^6.0|^7.0
symfony/event-dispatcher Version ^5.4|^6.0|^7.0
symfony/filesystem Version ^5.4|^6.0|^7.0
doctrine/orm Version ^2.10|^3.0
The package jonathanlight/meta-entity-builder-bundle contains the following files
Loading the files please wait ...