deviscoding/propel1-bundle

Fork of PropelBundle with patches for PHP 7.x and Symfony 3.x compatibility.

Installs: 79

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 153

Type:symfony-bundle

3.0.0-alpha1 2016-10-23 21:42 UTC

README

This an unofficial implementation of Propel 1.6 in Symfony, which has been modified to work with PHP 7.2+ and Symfony 3.0+.

Preventing Conflicts

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.

Branching model

Propel1 integration

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.

Features

  • 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/

Read the documentation

For license, see:

Resources/meta/LICENSE