Download the PHP package sunrise/doctrine-bridge without Composer
On this page you can find all versions of the php package sunrise/doctrine-bridge. 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 doctrine-bridge
Doctrine Bridge for PHP 7.2+ (incl. PHP 8)
Installation
Entity Manager Registry
Quick start
Configuration
DBAL configuration
Key | Required | Data type | Default value | Description |
---|---|---|---|---|
connection | Yes | array | true | |
auto_commit | No | bool | ||
event_manager | No | \Doctrine\Common\EventManager | ||
middlewares | No | array<\Doctrine\DBAL\Driver\Middleware> | ||
result_cache | No | \Psr\Cache\CacheItemPoolInterface | ||
schema_assets_filter | No | callable | ||
sql_logger | No | \Doctrine\DBAL\Logging\SQLLogger |
ORM configuration
Key | Required | Data type | Default value | Description |
---|---|---|---|---|
entity_locations | Yes | array | ||
metadata_driver | Yes | string|\Doctrine\Persistence\Mapping\Driver\MappingDriver | PHP 7: "annotations"; PHP 8: "attributes" | |
proxy_dir | Yes | string | ||
class_metadata_factory_name | class-string | |||
custom_datetime_functions | array | |||
custom_hydration_modes | array | |||
custom_numeric_functions | array | |||
custom_string_functions | array | |||
default_query_hints | array | |||
default_repository_class_name | class-string | |||
entity_listener_resolver | \Doctrine\ORM\Mapping\EntityListenerResolver | |||
entity_namespaces | array | |||
naming_strategy | \Doctrine\ORM\Mapping\NamingStrategy | |||
proxy_auto_generate | bool | true | ||
proxy_namespace | string | |||
quote_strategy | \Doctrine\ORM\Mapping\QuoteStrategy | |||
repository_factory | \Doctrine\ORM\Repository\RepositoryFactory | |||
second_level_cache_configuration | \Doctrine\ORM\Cache\CacheConfiguration | |||
second_level_cache_enabled | bool | |||
hydration_cache | \Psr\Cache\CacheItemPoolInterface | |||
metadata_cache | \Psr\Cache\CacheItemPoolInterface | |||
query_cache | \Psr\Cache\CacheItemPoolInterface | |||
result_cache | \Psr\Cache\CacheItemPoolInterface |
Migrations configuration
More details at: Official Documentation
Hydrator
The hydrator NEVER affects properties, it only calls setters and adders.
Query Filter
Maintainer
CLI commands
PSR-3 logger
Unique Entity Validator
Example for your CLI application
PHP-DI definition examples
Doctrine
Validator
All versions of doctrine-bridge with dependencies
PHP Build Version
Package Version
The package sunrise/doctrine-bridge contains the following files
Loading the files please wait ....