Search by

gautrot / propel-bundle

gautrot

Integration of Propel in Symfony

Package info

github.com/Gautrot/PropelBundle

Type:symfony-bundle

pkg:composer/gautrot/propel-bundle

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

7.1.0.1 2026-09-12 08:48 UTC

This package is auto-updated.

Last update: 2026-09-15 19:19:39 UTC


README

Latest Stable Version Minimum PHP Version GitHub Actions status codecov

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
    • Removed support for Symfony 6 and 7.0 to 7.3
      • LTS for Symfony 6.4 was migrated to a new branch: 6.1
      • Extended LTS for Symfony 5.4 was migrated to a new branch: 5.2
  • 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
  • Updated propel/propel minimum version to its official stable release (2.0.0) for 7.1 and 6.1 and last beta release (2.0.0-beta4) for 5.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.