Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Use the Propel abstraction layer
Update 09/01/2026
This guide is intended for developers who want to use the Propel ORM on a hosting environment where command-line access is restricted.
Introduction
- The ORM allows you to link application objects to database tables. Data is manipulated via
PHPobjects rather than writing rawSQL. Propelis the abstraction layer that manages these interactions (relationships, joins, pagination) to simplify code maintenance.
Specific features & limitations
Propelis not pre-installed viaPear.- You must install it manually in your project.
- It is essential to download the "Conventional Package" version of
Propel.
- CLI commands (such as
propel-gen) cannot be executed on the server.- As a result,
Propelcan only be used in "Runtime" mode in production. Class generation (build) must be performed locally. - The workflow involves generating the code in a development environment and then transferring the resulting files to the server.
- As a result,
- Dependencies:
- All the libraries required for
Propelare available, with the exception ofPhing. - The absence of
Phingdoes not affect production, as this tool is only required during the local generation phase.
- All the libraries required for
Link to this FAQ: https://faq.infomaniak.com/1142
Has this FAQ been helpful?