gautrot / propel-bundle
Integration of Propel in Symfony
7.1.0.1
2026-09-12 08:48 UTC
Requires
- php: >=8.2
- propel/propel: ^2.0
- symfony/cache: ^7.4.10
- symfony/config: ^7.4
- symfony/console: ^7.4
- symfony/dependency-injection: ^7.4
- symfony/framework-bundle: ^7.4
- symfony/http-foundation: ^7.4.8
- symfony/http-kernel: ^7.4.11
- symfony/routing: ^7.4.12
- symfony/security-bundle: ^7.4
- symfony/security-http: ^7.4.12
- symfony/translation: ^7.4
- symfony/validator: ^7.4
- symfony/var-exporter: ^7.4
- symfony/yaml: ^7.4.11
Requires (Dev)
- ext-json: *
- ext-pdo: *
- ext-simplexml: *
- fakerphp/faker: ^1.0
- mikey179/vfsstream: ^1.6
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: >=11.5.50
- symfony/form: ^7.4
- symfony/stopwatch: ^7.4
- twig/twig: ^3.26
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
PropelBundle is the official implementation of Propel in Symfony.
Installation
Minimum requirements
| Symfony | PHP | Propel | PropelBundle |
|---|---|---|---|
| 8.4 (Currently 8.1) | >= 8.4 | 2.0.0 | 8.0 (In development) |
| 7.4 | >= 8.2 | 2.0.0 | 7.1 |
| 6.4 | >= 8.1 | 2.0.0 | 6.1 (LTS) |
| 5.4 | >= 7.4 | 2.0.0-beta4 | 5.2 (Extended LTS) |
For Symfony 5.4, if you are using PHP 7.2 or 7.3, you must upgrade to PHP 7.4 at least.
Composer
composer require propel/propel "~2.0" composer require gautrot/propel-bundle "~7.1" # (or newer/older tag/release) # or composer require gautrot/propel-bundle "7.1.x-dev"
composer.json
Stable release:
{
"require": {
"propel/propel": "~2.0",
"gautrot/propel-bundle": "~7.1"
}
}
Nightly release:
{
"require": {
"propel/propel": "~2.0",
"gautrot/propel-bundle": "7.1.x-dev"
}
}
Features
- Generation of model classes based on an XML schema only, placed under
BundleName/Resources/*schema.xml; - Insertion of SQL statements;
- Runtime autoloading of Propel and generated classes;
- Propel runtime initialization through the XML configuration;
- Propel migrations;
- Reverse engineering from existing database;
- Integration to Symfony Profiler;
- Load SQL, YAML, and XML fixtures;
- Create and drop databases;
- Integration with the Form component;
- Integration with the Security component;
- Propel's ParamConverter can be used
with Symfony Attributes.
- Warning!: Version 5.2 uses Sensio Framework Extra Bundle, which is no longer maintained as of Symfony 6.2. If you are still using it, you must convert them to Symfony Attributes.
New to version 7.1
- Added support for Symfony 7.4
- Added support for PHP 8.4 and 8.5
- Removed support for PHP 8.0 and 8.1 in branch
7.1 - Removed support for PHP 8.0 in branch
6.1 - Removed support for PHP 7.2 and 7.3 in branch
5.2 - Removed deprecated content introduced in PHP 8.4 and 8.5
- Removed support for PHP 8.0 and 8.1 in branch
- Updated
propel/propelminimum version to its official stable release (2.0.0) for7.1and6.1and last beta release (2.0.0-beta4) for5.2
You can also read the changelogs here.
And more...
You can read and learn Propel 2 from their official documentation here. For licenses, see: LICENSE. If you want more details about PropelBundle, go here.