Developed with love by KnpLabs Hire us for your project!
237

PropelBundle

by propelorm

PropelBundle for Symfony2.

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.1 (*currently 2.2, 2.3 and 2.4 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 2.2, 2.3 or 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
The MIT License

Copyright (c) 2010-2012 William Durand <william.durand1@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
propel:
path: ~
phing_path: ~
logging: false
build_properties:

# Prototype
key: []
behaviors:

# Prototype
key: []
dbal:
default_connection: default
driver: mysql
user: root
password:
dsn:
classname: PropelPDO
options:

# Prototype
key: []
attributes:

# Prototype
key: []
settings:

# Prototype
key: []
connections:

# Prototype
name:
driver: mysql
user: root
password:
dsn:
classname: PropelPDO
slaves:

# Prototype
name:
driver: mysql
user: root
password:
dsn:
classname: PropelPDO
options:

# Prototype
key: []
attributes:

# Prototype
key: []
settings:

# Prototype
key: []
  • add conflict with SensioFrameworkExtraBundle >=2.4
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago
  • Merge pull request #261 from havvg/1.2
    By havvg, 4 months ago