Documentation
Project Setup
Propel Basics
- Basic CRUD The basics of Propel C.R.U.D. (Create, Retrieve, Update, Delete) operations
- Relationships Searching and manipulating data from related tables.
- Validators The validation framework checks data before insertion based on column type.
- Transactions Where and when to use transactions.
- Behaviors The behavior system allows to package and reuse common model features.
- Logging And Debugging Propel can log a lot of information, including the SQL queries it executes.
- Inheritance Single Table Inheritance, Class Table Inheritance, and Concrete Table Inheritance come free with Propel.
- Migrations Change the structure of the database without altering the data.
Reference
Behaviors Reference
You can also look at user contributed behaviors.
Cookbook
Common Tasks
- Additional SQL Files How to execute custom SQL statements at buildtime
- Advanced Column Types How to work with BLOBs, serialized PHP objects, ENUM, and ARRAY column types.
- Customizing build How to customize the Phing build process.
- DB Designer How to import an XML schema from existing DBDesigner 4 file.
- How to Use PHP 5.3 Namespaces How to generate model classes with namespaces, and how to use them.
- Model Introspection At Runtime How to use the Map classes to discover table properties at runtime.
- Multi-Component Data Model How to generate model classes in subdirectories, and organize your model into independent packages / modules.
- Object Copy How to clone and copy persisted objects.
- Replication How to use Propel in a Master-Slave Replication Environment.
- Using Propel With MSSQL Server How to choose and configure Propel to persist data to a Microsoft SQL Server database.
- Using SQL Schemas How to organize tables into SQL schemas (only for MySQL, PostgreSQL, and MSSQL).
- Working With Existing Databases How to build an XML schema from an existing db structure, how to dump data to XML, how to import it into a new database, etc.
Contribute to Propel
Working with symfony 1.4
Working with Symfony2
Working with Silex
Tip
This is the documentation for the latest Propel 1.x version. To access the old documentation, please visit trac.propelorm.org.