PHP Object Framework (PHPOF) v1
This page is about the original version of PHPOF (version 1). This has been superceded by the completely-rewritten PHPOF version 2.
What is PHPOF?
PHPOF is an object-oriented database access layer for PHP. It performs object-relational mapping (ORM) to make using SQL databases easier and more intuitive in PHP.
PHPOF1 has long since been obsoleted by PHPOF2. However, PHPOF1 is still in use on many sites and occasional releases are still made to fix minor bugs or make small improvements.
Key features
- Object-relational mapping (ORM)
- Automatic table detection
- Database abstraction (MySQL fully supported via mysql/mysqli drivers, partial support for PostgreSQL)
- Elegant and efficient binary (BLOB) handling including functions to handle file uploads conveniently, abstracted cleanly and consistently across different databases
- Robust and meaningful error handling
- Well-tested; has been in production use since 2001
- Integrated audit logging capabilities
- Installable via the PEAR installer
- Free software, licensed under version 2.1 of the Lesser GNU Public License (LGPL)
Requirements
- PHP4.2+. Will probably work with earlier versions, although this is not supported. The security features offered by the XVar class will definitely not work with PHP < 4.1.0.
- Compiled-in PHP support for your database as required.