Download the PHP package skar/laminas-doctrine-orm without Composer
On this page you can find all versions of the php package skar/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
- The full name of\Doctrine\DBAL\Driver
implementationparams
- The connection driver parameters
driver
- Mapping driver configurationorm_default
drivers
- Key must be a namespace for entities (e.g.
App\Entity
)class
- The full name of the metadata driverpaths
- An array of directories containing your entities
- Key must be a namespace for entities (e.g.
See the Doctrine documentation for more possible configurations.
Example Configuration
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 || ^2.0
doctrine/orm Version ^3.0.0
doctrine/migrations Version ^3.3.0
laminas/laminas-cli Version ^1.0.0
laminas/laminas-servicemanager Version ~3.3 || ~4.0
skar/php-cache Version ^0.1
php Version ^8.1 || ^8.2 || ^8.3
doctrine/orm Version ^3.0.0
doctrine/migrations Version ^3.3.0
laminas/laminas-cli Version ^1.0.0
laminas/laminas-servicemanager Version ~3.3 || ~4.0
skar/php-cache Version ^0.1
php Version ^8.1 || ^8.2 || ^8.3
The package skar/laminas-doctrine-orm contains the following files
Loading the files please wait ....