thelia / propel
Propel2 is an open-source Object-Relational Mapping (ORM) for PHP 5.5 and up.
Requires
- php: >=8.1
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/config: ^5.0.0 || ^6.0.0 || ^7.0.0
- symfony/console: ^5.0.0 || ^6.0.0 || ^7.0.0
- symfony/filesystem: ^5.0.0 || ^6.0.0 || ^7.0.0
- symfony/finder: ^5.0.0 || ^6.0.0 || ^7.0.0
- symfony/translation: ^5.0.0 || ^6.0.0 || ^7.0.0
- symfony/validator: ^5.0.0 || ^6.0.0 || ^7.0.0
- symfony/yaml: ^5.0.0 || ^6.0.0 || ^7.0.0
Requires (Dev)
- ext-json: *
- ext-pdo: *
- ext-xml: *
- mikey179/vfsstream: ^1.6
- monolog/monolog: ^1.3 || ^2.3 || ^3.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpunit/phpunit: ^9.5.0
- psalm/phar: ^4.23
- spryker/code-sniffer: ^0.17.2
Suggests
- monolog/monolog: The recommended logging library to use with Propel.
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-09 15:13:52 UTC
README
Fork of propelorm/Propel2 maintained by the Thelia organization. It is the ORM used by Thelia, an open-source e-commerce solution. The upstream project being inactive, this fork is maintained independently.
Branches
| Branch | Used by |
|---|---|
thelia3.0 |
Thelia 3 |
thelia-2.5 |
Thelia 2.5 |
Changes compared to upstream
- Symfony event dispatching on the ActiveRecord lifecycle: a generated
Eventclass per table, withPRE_SAVE,POST_SAVE,PRE_INSERT,POST_INSERT,PRE_UPDATE,POST_UPDATE,PRE_DELETEandPOST_DELETEevents dispatched through the connection'sEventDispatcher - Native PHP types on generated model properties, getters and setters
- PHP 8.x and Symfony 6/7 compatibility fixes
- Backward-compatibility helpers kept for Thelia 2
Installation
composer require thelia/propel:dev-thelia3.0
Thelia projects pull this package automatically through thelia/core.
Documentation
The general Propel documentation at propelorm.org still applies. For the Thelia integration (events, generated models, schema conventions), see the Thelia documentation.
Contribute
Fork the repository and create a pull request against the relevant branch. Please include unit tests with your changes.
License
MIT. See the LICENSE file for details.