Download the PHP package hamichen/laminas-doctrine-orm without Composer
On this page you can find all versions of the php package hamichen/laminas-doctrine-orm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laminas-doctrine-orm
Laminas Doctrine ORM
Simple Laminas/Mezzio Doctrine ORM integration.
Please feel free to report bugs and missing features.
Using
Configuration
Create config file config/autoload/doctrine.global.php
with minimal config:
doctrine
- Key for doctrine configconnection
orm_default
driver_class
- Full name of\Doctrine\DBAL\Driver
implementationparams
- Driver parameters
driver
- Mapping driver configurationorm_default
drivers
- Key must be a namespace for entities (e.g.
App\Entity
)class
- Full name ofMappingDriver
paths
- Array of directories with entities
- Key must be a namespace for entities (e.g.
See Doctrine documentation for more possible configurations.
Example
Migrations Commands
Commands uses Laminas CLI and vendor/bin/laminas
entry point for it
Possible commands
Example
TODO
- Tests
- Split this library into separate DBAL, ORM and Migrations libraries
- Add libraries support (auth, pagination etc)
WHY
Because DoctrineORMModule is only for Laminas (full MVC) but I need simple integration for Mezzio.
All versions of laminas-doctrine-orm with dependencies
PHP Build Version
Package Version
Requires
psr/container Version
^1.0
doctrine/orm Version ^2.10.0
doctrine/migrations Version ^3.5
laminas/laminas-cli Version ^1.0.0
laminas/laminas-servicemanager Version ~3.3 || ~4.0
php Version ^8.1 || ^8.0 || ^7.4
hamichen/php-cache Version ^1.0.0
doctrine/orm Version ^2.10.0
doctrine/migrations Version ^3.5
laminas/laminas-cli Version ^1.0.0
laminas/laminas-servicemanager Version ~3.3 || ~4.0
php Version ^8.1 || ^8.0 || ^7.4
hamichen/php-cache Version ^1.0.0
The package hamichen/laminas-doctrine-orm contains the following files
Loading the files please wait ....