Doctrine PHP Content Repository ODM documentation
The Doctrine PHPCR ODM documentation is comprised of tutorials, a reference section and cookbook articles that explain different parts of the PHP Content Repository Object Document mapper.
Getting Help
If this documentation is not helping to answer questions you have about Doctrine PHPCR ODM don't panic. You can get help from different sources:
- The Doctrine Mailing List
- Slack chat room #phpcr-odm
- Report a bug on GitHub.
Getting Started
- Introduction: Introduction by code | Architecture
- Setup: Installation and configuration | Tools
Mapping Objects onto a Document Repository
- Basic Reference: Objects and Fields | Hierarchies and References | Inheritance
- Mapping Driver References: PHP Attributes | Docblock Annotations (deprecated) | XML | YAML | Metadata Drivers
Working with Objects
- Basic Reference: Documents | Events
- Query Reference: Query Builder Guide | Query Builder Reference | The Query Object
Advanced Topics
- PHPCR Session: Accessing the underlying PHPCR session
- Multilanguage: Working with Multilanguage Documents
- Versioning: Versioning Documents
- Transactions: Transactions
- Performance: Fetch Depth
Cookbook
- Tricks: Last modification timestamp | Custom Document Class Mapper | Convert documents between translated and untranslated
Also have a look at the Doctrine ORM cookbook, notably the entries in the Implementation section apply to PHPCR-ODM as well.