Go to file
Marc J. Schmidt d3602a9012 Added --overwrite optin to sql:build command to allow overwriting the sql.map file without the need to remove it manually.
Made also --sql-dir configurable and changed its default value to %app_dir%/propel/sql like in propelBundle v1.
2014-11-19 18:47:02 +01:00
Command Added --overwrite optin to sql:build command to allow overwriting the sql.map file without the need to remove it manually. 2014-11-19 18:47:02 +01:00
Controller Started to integrate the new configuration system (still WIP/dirty) 2014-09-12 21:18:03 +01:00
DataCollector Checkstyle fixes 2013-11-03 21:23:53 +00:00
DataFixtures CS fixes 2014-09-15 13:37:23 +01:00
DependencyInjection Merge pull request #306 from K-Phoen/adapter_configuration 2014-11-19 16:29:40 +01:00
Form Apply php-cs-fixer 2014-04-26 21:58:01 +01:00
Logger Fixed logger 2013-11-04 21:28:52 +00:00
Model/Acl Apply php-cs-fixer 2014-04-26 21:58:01 +01:00
Request/ParamConverter CS fixes 2014-09-15 13:37:23 +01:00
Resources Started to integrate the new configuration system (still WIP/dirty) 2014-09-12 21:18:03 +01:00
Security A few cs fixes 2013-12-14 12:47:55 +00:00
Service Moved the schema-locating code outside the AbstractCommand 2013-10-31 21:19:24 +00:00
Tests Fixed test suite 2014-11-19 15:06:22 +01:00
Twig/Extension Fixed the DataCollector 2013-11-01 17:49:56 +00:00
Util Add: support for param converters 2013-11-03 22:52:53 +00:00
Validator/Constraints Added UniqueObject constraint 2013-12-12 15:18:32 +00:00
.gitignore initialize Propel2 support 2013-06-09 00:19:30 +02:00
.travis.yml Add more test targets (php and symfony versions) 2014-06-01 19:46:18 +01:00
composer.json Remove branch alias 2014-09-22 13:35:12 +01:00
phpunit.xml.dist initialize Propel2 support 2013-06-09 00:19:30 +02:00
PropelBundle.php Started to integrate the new configuration system (still WIP/dirty) 2014-09-12 21:18:03 +01:00
README.markdown initialize Propel2 support 2013-06-09 00:19:30 +02:00

PropelBundle

Build Status

This is the official implementation of Propel in Symfony2.

Branching model

As Propel2 will be released in the near future, we are migrating the branching model of this bundle in advance!

  • The 1.0 branch contains Propel 1.6 integration for Symfony 2.0 (currently 2.0 branch).
  • The 1.1 branch contains Propel 1.6 integration for Symfony 2.1 (currently 2.1 branch).
  • The 1.2 branch contains Propel 1.6 integration for Symfony 2.2 (currently master branch).
  • The 2.0 branch will contain Propel2 integration for Symfony 2.1. We are still considering to integrate Propel2 with Symfony 2.0. In case, we will do so, there will be a 2.1 and 2.0 branch integrating the respective Symfony version!

The 1.x branches are already available and you are encouraged to migrate your dependencies according to the listings!

  • If you depend on Symfony master branch, switch to the 1.2 branch.
  • If you depend on Symfony 2.1 branch, switch to the 1.1 branch.
  • If you depend on Symfony 2.0 branch, switch to the 1.0 branch.

Note: the master, and 2.0 branches won't be updated anymore, and will trigger a E_USER_DEPRECATED error to notice people.

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