creonit/propel-schema-converter-bundle
Symfony bundle that lets you define Propel database schemas in YAML. Place schema.yml in Resources/config, run Propel build/migration commands, and the bundle generates schema.xml automatically. Supports columns, indexes, unique keys, relations, and behaviors.
timestampable). Mitigation: Enforce schema linting (e.g., custom PHPStan rules).timestampable) depend on Propel’s plugin ecosystem. Risk: Plugin compatibility with Propel versions.timestampable, sortable) supported in the target Propel version?logs, audits) to validate YAML syntax and behavior compatibility.UserBundle → OrderBundle).diff-schema to compare XML/YAML outputs.schema.xml with schema.yml in Resources/config/.composer.json constraints).timestampable) are available in the Propel plugin repository.propel/propel-bundle).config/packages/propel.yaml.composer require creonit/propel-schema-converter-bundle
schema.yml in src/YourBundle/Resources/config/.src/
└── YourBundle/
├── Resources/
│ └── config/
│ └── schema.yml
└── Model/
php bin/console propel:schema:convert
php bin/console propel:build --no-confirm
php bin/console propel:diff-schema to compare XML/YAML outputs.schema.yml history).creonit-dev releases).yamllint) and provide clear error messages.schema.dev.yml, schema.prod.yml) via bundle configuration.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| YAML syntax error | Build failure | Pre-commit hooks (e.g., yamllint). |
| Propel version incompatibility | Schema generation fails | Pin Propel version in composer.json. |
| Behavior plugin missing | Missing model features | Audit propel/behaviors dependencies. |
| Schema drift (XML/YAML mismatch) | Runtime errors | CI checks for propel:diff-schema. |
| Bundle abandonment | No updates/maintenance | Fork and maintain internally. |
sortable) require documentation.schema.yml → schema.xml mappings.How can I help you explore Laravel packages today?