This an unofficial implementation of Propel 1.6 in Symfony, which has been modified to work with PHP 7.2+ and Symfony 3.0+.
To prevent conflicts with a non-patched versions of Propel1, it is recommended to add the following to the autoload
key of your project's composer.json
:
"exclude-from-classmap": [ "vendor/propel/propel1/runtime/lib","vendor/propel/propel1/generator/lib" ]
These conflicts are created when a dependency you have specified has propel/propel1
in their required-dev
packages, and therefore cannot be otherwise avoided.
The two major branches being supported are:
- The
1.7
branch contains Propel 1.6 integration for Symfony 3.x and PHP 7.2+. - The
1.8
branch contains Propel 1.6 integration for Symfony 3.x or 4.x and PHP 7.2+.
Note: Only the 1.7
and 1.8
branches are maintained in this fork. For newer or older versions, please use the original repo.
- Generation of model classes based on an XML schema (not YAML) placed under
BundleName/Resources/*schema.xml
; - Insertion of SQL statements;
- Runtime autoloading of Propel and generated classes;
- Propel runtime initialization through the XML configuration;
- Migrations Propel 1.6;
- Reverse engineering from existing database;
- Integration to the Symfony2 Profiler;
- Load SQL, YAML and XML fixtures;
- Create/Drop databases;
- Integration with the Form component;
- Integration with the Security component;
- Propel ParamConverter can be used with Sensio Framework Extra Bundle.
For documentation, see:
Resources/doc/
For license, see:
Resources/meta/LICENSE