Skip to content

ldaspt/PropelBundle

 
 

Repository files navigation

PropelBundle

Github actions Status codecov Minimum PHP Version

This is the official implementation of Propel in Symfony.

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 contains Propel2 integration for Symfony 2.5-2.8.
  • The 3.0 branch contains Propel2 integration for Symfony 2.8-3.x.
  • The 5.0 branch contains Propel2(branch 2.0.0-beta1) integration for Symfony 4.x|5.x and PHP 7.2 - 8.0.
  • The 5.1 branch contains Propel2(branch 2.0.0-beta2) integration for Symfony 4.x|5.x|6.x and PHP 7.4 - 8.1.
  • The 6.0 branch contains Propel2(branch 2.0.0-beta2) integration for Symfony 6.x. and PHP 8.0.2+

Version 6.0 Changes

Symfony 6.0 Installation

Requirements

  • php: 8.0.2+
  • propel/propel

Composer command

  • composer require propel/propel "2.0.0-beta2"
  • composer require skyfox/propel-bundle "6.0.1"(or newer tag/release) or "6.0.x-dev"

composer.json -> add in "require"

  • "propel/propel": "2.0.0-beta2"
  • "skyfox/propel-bundle": "6.0.1"(or newer tag/release) or "6.0.x-dev"

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;
  • Propel Migrations;
  • Reverse engineering from existing database;
  • Integration to the Symfony 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.

Read the documentation

For license, see:

Resources/meta/LICENSE

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.5%
  • Twig 3.5%