Download the PHP package locky42/leopard-doctrine without Composer
On this page you can find all versions of the php package locky42/leopard-doctrine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download locky42/leopard-doctrine
More information about locky42/leopard-doctrine
Files in locky42/leopard-doctrine
Download locky42/leopard-doctrine
More information about locky42/leopard-doctrine
Files in locky42/leopard-doctrine
Vendor locky42
Package leopard-doctrine
Short Description Lightweight PHP framework for working with databases using the Doctrine ORM.
License MIT
Package leopard-doctrine
Short Description Lightweight PHP framework for working with databases using the Doctrine ORM.
License MIT
Please rate this library. Is it a good library?
Informations about the package leopard-doctrine
Leopard Doctrine
locky42/leopard-doctrine integrates Doctrine ORM with Leopard events and provides a registry for ResolveTargetEntity mappings.
Features
- Global wrapper around Doctrine
EntityManager(Leopard\Doctrine\EntityManager) ResolveTargetEntityRegistryfor interface → implementation mappings- Event-based initialization hooks:
BeforeInitEventManagerEventAfterInitEventManagerEventBeforeInitEntityManagerEventAfterInitEntityManagerEvent
Installation
Usage
1) Configure mappings (optional)
Register interface mappings before BeforeInitEntityManagerEvent is dispatched:
2) Initialize Doctrine and Leopard events
3) Retrieve EntityManager anywhere
Requirements
- PHP 8.3+
- Doctrine ORM 3.x
locky42/leopard-events
Notes
- If you use
ResolveTargetEntity, ensure listeners are attached to the same DoctrineEventManagerinstance that is passed to ORMEntityManager. - The package bootstrap auto-registers internal listeners via Composer autoload files.
License
MIT
All versions of leopard-doctrine with dependencies
PHP Build Version
Package Version
The package locky42/leopard-doctrine contains the following files
Loading the files please wait ...