Provides integration for Doctrine with various Symfony components.

Overview
You might also like...
SleekwareDB is a NoSQL database storage service. A database storage service that can be used for various platforms and is easy to integrate.
SleekwareDB is a NoSQL database storage service. A database storage service that can be used for various platforms and is easy to integrate.

SleekwareDB is a NoSQL database storage service. A database storage service that can be used for various platforms and is easy to integrate. NoSQL API

MySQL Spatial Data Extension integration with Laravel.

Laravel MySQL Spatial extension Laravel package to easily work with MySQL Spatial Data Types and MySQL Spatial Functions. Please check the documentati

Symfony 5 PHP 8 DDD CQRS Backend POC

Book Shop A POC for DDD and CQRS applications using Symfony as framework and running with php8 User Stories Come store manager voglio aggiungere/modif

Symfony 5.2 + api platform project with ELK stack + elastic FileBeats for the log management. All running in 7 docker containers: nginx, php 8, mysql, elastic search, logstash, kibana, fileBeats.

Symfony with ELK and Elastic FileBeats Stack Prerequisites: Make sure that docker and docker-compose are installed in your machine and available for y

A Symfony application for managing and automating regular backups of MySQL databases.
A Symfony application for managing and automating regular backups of MySQL databases.

DbSaver DbSaver is an application written by Bastien LOUGHIN allowing you to make automatic daily backups (and manual backups) for your MySQL database

📐 Symfony Bundle to generate database diagrams
📐 Symfony Bundle to generate database diagrams

Doctrine Diagram Bundle 📐 Symfony Bundle to generate database diagrams.

A Redis bundle for Symfony supporting Predis and PhpRedis

RedisBundle About This bundle integrates Predis and PhpRedis into your Symfony 3.4+ application, providing a fast and convenient interface to Redis. U

This package provides a framework-agnostic database backup manager for dumping to and restoring databases from S3, Dropbox, FTP, SFTP, and Rackspace Cloud

Database Backup Manager This package provides a framework-agnostic database backup manager for dumping to and restoring databases from S3, Dropbox, FT

This package provides a set of factories to be used with containers using the PSR-11 standard for an easy Doctrine integration in a project

psr-container-doctrine: Doctrine Factories for PSR-11 Containers Doctrine factories for PSR-11 containers. This package provides a set of factories to

🎲 This project provides an integration for the Doctrine ORM and the Hyperf framework

Hyperf 🤝 Doctrine This project provides an integration for the Doctrine ORM and the Hyperf framework. Install composer require leocavalcante/hyperf-d

Dockerise Symfony Application (Symfony 6 + Clean Architecture+ DDD+ CQRS + Docker + Xdebug + PHPUnit + Doctrine ORM + JWT Auth + Static analysis)

Symfony Dockerise Symfony Application Install Docker Install Docker Compose Docker PHP & Nginx Create Symfony Application Debugging Install Xdebug Con

The Laravel eCommerce Image Gallery allows the admin to add/manage images into various galleries and galleries into various groups according to requirements.

The Laravel eCommerce Image Gallery allows the admin to add/manage images into various galleries and galleries into various groups according to requirements.

Centralized dashboard to monitor various WordPress components, stats and data, including the server.
Centralized dashboard to monitor various WordPress components, stats and data, including the server.

Centralized dashboard to monitor various WordPress components, stats and data, including the server.

[DEPRECATED -- Use Symfony instead] The PHP micro-framework based on the Symfony Components

Silex, a simple Web Framework WARNING: Silex is in maintenance mode only. Ends of life is set to June 2018. Read more on Symfony's blog. Silex is a PH

This package adds artisan commands to create VueJS components and InertiaJS components.
This package adds artisan commands to create VueJS components and InertiaJS components.

Laravel Vue Commands This package adds artisan commands to create VueJS components and InertiaJS components. Installation You can install the package

Doctrine-like fixtures integration for Shopware 6.
Doctrine-like fixtures integration for Shopware 6.

Shopware 6 Fixtures Did you ever want to create and load Doctrine-like fixtures in your Shopware 6 plugin? Look no further! This plugin provides an ul

SlmMail is a module that integrates with various third-parties API to send mails. Integration is provided with the API of those services

SlmMail is a module that integrates with various third-parties API to send mails. Integration is provided with the API of those services

Airbrake.io & Errbit integration for Symfony 3/4/5. This bundle plugs the Airbrake API client into Symfony project

AmiAirbrakeBundle Airbrake.io & Errbit integration for Symfony 3/4/5. This bundle plugs the Airbrake API client into Symfony project. Prerequisites Th

Provides a Middleware to integration Tideways into Symfony Messenger Processing

Tideways Middleware for Symfony Messenger This package is currently under development and might be moved into the Tideways PHP Extension or stay indep

Comments
  • Add 'attribute' to allowed mapping config types

    Add 'attribute' to allowed mapping config types

    Hi! Recently https://github.com/doctrine/orm/pull/8266 was merged in. I had made a new symfony project and wanted to use the entity attributes to generate a schema, I was able to do so but needed to allow setting a type of "attribute" in my doctrine orm mappings type configuration by changing this class (and adding the corresponding parameter for the attributes driver to DoctrineBundle (https://github.com/doctrine/DoctrineBundle/pull/1313)

    I am not sure if this is useful, sorry if it is not! (I am not sure which branch this should go to, because I guess this relies on doctrine/orm 2.9.x)

    thanks for all the code by the way!

    opened by L41rx 3
  • Update ORMQueryBuilderLoader.php

    Update ORMQueryBuilderLoader.php

    Type::GUID can be used as entity ID and is Connection::PARAM_STR_ARRAY

    when submitting form with required set to FALSE and empty entity with Type::GUID as entity ID, we still receive an SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for uuid: "" in the PostgreSQL Platform for example.

    https://github.com/symfony/symfony/pull/14465 ???

    opened by sasedev 2
  • Field mapping unique is optional

    Field mapping unique is optional

    If array index is not set - use default false

    Error exception:

    Executed script cache:clear  [KO]
     [KO]
    Script cache:clear returned with error code 1
    !!  
    !!   // Clearing the cache for the dev environment with debug                       
    !!   // true                                                                        
    !!  
    !!  
    In DoctrineLoader.php line 71:
                                       
      [ErrorException]                 
      Notice: Undefined index: unique  
                                       
    
    Exception trace:
     () at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/doctrine-bridge/Validator/DoctrineLoader.php:71
     Symfony\Bridge\Doctrine\Validator\DoctrineLoader->loadClassMetadata() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/validator/Mapping/Loader/LoaderChain.php:54
     Symfony\Component\Validator\Mapping\Loader\LoaderChain->loadClassMetadata() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/validator/Mapping/Factory/LazyLoadingMetadataFactory.php:105
     Symfony\Component\Validator\Mapping\Factory\LazyLoadingMetadataFactory->getMetadataFor() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/framework-bundle/CacheWarmer/ValidatorCacheWarmer.php:63
     Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer->doWarmUp() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/framework-bundle/CacheWarmer/AbstractPhpFileCacheWarmer.php:51
     Symfony\Bundle\FrameworkBundle\CacheWarmer\AbstractPhpFileCacheWarmer->warmUp() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:96
     Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:194
     Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->warmup() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:129
     Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/console/Command/Command.php:255
     Symfony\Component\Console\Command\Command->run() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/console/Application.php:930
     Symfony\Component\Console\Application->doRunCommand() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/framework-bundle/Console/Application.php:87
     Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/console/Application.php:273
     Symfony\Component\Console\Application->doRun() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/framework-bundle/Console/Application.php:73
     Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/ksaveras/Projects/mokytojas.local/vendor/symfony/console/Application.php:149
     Symfony\Component\Console\Application->run() at /home/ksaveras/Projects/mokytojas.local/bin/console:40
    
    cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
    
    ./bin/console ca:cl     
    
    opened by ksaveras 1
  • Guessing required should look for a column default

    Guessing required should look for a column default

    When inferring whether a property should be required or not, the logic makes more sense as:

    • is not nullable and has no default = required
    • is not nullable and has a default = not required
    • is nullable and has no default = not required
    • is nullable and has a default = not required

    This makes sense for things like:

    • State fields (integer) that default to 0 and cannot be null
    opened by jhogendorn 1
Releases(v6.2.2)
  • v6.2.2(Dec 16, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.2.1...v6.2.2)

    • bug #48489 Skip resolving entities when the corresponding request attribute is already an object (nicolas-grekas)
    Source code(tar.gz)
    Source code(zip)
  • v6.2.0(Nov 30, 2022)

  • v6.2.0-RC2(Nov 28, 2022)

  • v6.1.8(Nov 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.7...v6.1.8)

    • bug #48097 Fix search scope when performing fallback mapping driver detection (spideyfusion)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.16(Nov 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.15...v6.0.16)

    • bug #48097 Fix search scope when performing fallback mapping driver detection (spideyfusion)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.16(Nov 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v5.4.15...v5.4.16)

    • bug #48097 Fix search scope when performing fallback mapping driver detection (spideyfusion)
    Source code(tar.gz)
    Source code(zip)
  • v6.2.0-RC1(Nov 25, 2022)

  • v6.2.0-BETA3(Nov 19, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.2.0-BETA2...v6.2.0-BETA3)

    • bug #48097 Fix search scope when performing fallback mapping driver detection (spideyfusion)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.7(Oct 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.6...v6.1.7)

    • bug #47863 Allow doctrine/event-manager 2 (derrabus)
    • bug #47858 Implement EventManager::getAllListeners() (derrabus)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.15(Oct 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.14...v6.0.15)

    • bug #47863 Allow doctrine/event-manager 2 (derrabus)
    • bug #47858 Implement EventManager::getAllListeners() (derrabus)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.15(Oct 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v5.4.14...v5.4.15)

    • bug #47858 Implement EventManager::getAllListeners() (derrabus)
    Source code(tar.gz)
    Source code(zip)
  • v4.4.48(Oct 28, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v4.4.47...v4.4.48)

    • bug #47858 Implement EventManager::getAllListeners() (derrabus)
    Source code(tar.gz)
    Source code(zip)
  • v6.2.0-BETA1(Oct 24, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.6...v6.2.0-BETA1)

    • feature #47864 Deprecate calling ContainerAwareEventManager::getListeners() without event name (derrabus)
    • feature #38996 Remove the default values from setters with a nullable parameter (derrabus, nicolas-grekas)
    • feature #47236 Generate lazy-loading virtual proxies for non-ghostable lazy services (nicolas-grekas)
    • feature #47363 Replace ArgumentValueResolverInterface by ValueResolverInterface (nicolas-grekas)
    • feature #43854 Add an Entity Argument Resolver (jderusse, nicolas-grekas)
    • feature #46752 Use lazy-loading ghost object proxies out of the box (nicolas-grekas)
    • feature #46183 Hide sensitive information with SensitiveParameter attribute (GromNaN)
    • feature #46642 Add NAME const for UID types (marcelsiegert)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.6(Oct 12, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.5...v6.1.6)

    • bug #47798 Fix auto mapping for bundles that contain only embeddables (jorissae)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.14(Oct 12, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.13...v6.0.14)

    • bug #47798 Fix auto mapping for bundles that contain only embeddables (jorissae)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.14(Oct 12, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v5.4.13...v5.4.14)

    • bug #47798 Fix auto mapping for bundles that contain only embeddables (jorissae)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.5(Sep 30, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.4...v6.1.5)

    • bug #47497 Fix mkdir() race condition in ProxyCacheWarmer (andrey-tech)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.13(Sep 30, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.12...v6.0.13)

    • bug #47497 Fix mkdir() race condition in ProxyCacheWarmer (andrey-tech)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.13(Sep 30, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v5.4.12...v5.4.13)

    • bug #47497 Fix mkdir() race condition in ProxyCacheWarmer (andrey-tech)
    Source code(tar.gz)
    Source code(zip)
  • v4.4.46(Sep 30, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v4.4.45...v4.4.46)

    • bug #47497 Fix mkdir() race condition in ProxyCacheWarmer (andrey-tech)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.3(Jul 29, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.2...v6.1.3)

    • bug #46985 Avoid calling AbstractPlatform::hasNativeGuidType() (derrabus)
    • bug #46811 Fix comment for type on Query::setValue (middlewares) (l-vo)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.11(Jul 29, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.10...v6.0.11)

    • bug #46985 Avoid calling AbstractPlatform::hasNativeGuidType() (derrabus)
    • bug #46811 Fix comment for type on Query::setValue (middlewares) (l-vo)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.11(Jul 29, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v5.4.10...v5.4.11)

    • bug #46985 Avoid calling AbstractPlatform::hasNativeGuidType() (derrabus)
    • bug #46811 Fix comment for type on Query::setValue (middlewares) (l-vo)
    Source code(tar.gz)
    Source code(zip)
  • v4.4.44(Jul 29, 2022)

  • v6.1.2(Jun 26, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.1...v6.1.2)

    • bug #46676 Extend type guessing on enum fields (Gigino Chianese)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.10(Jun 26, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.9...v6.0.10)

    • bug #46676 Extend type guessing on enum fields (Gigino Chianese)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.10(Jun 26, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v5.4.9...v5.4.10)

    • bug #46676 Extend type guessing on enum fields (Gigino Chianese)
    Source code(tar.gz)
    Source code(zip)
  • v4.4.43(Jun 26, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v4.4.42...v4.4.43)

    • bug #46676 Extend type guessing on enum fields (Gigino Chianese)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.0(May 27, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.1.0-RC1...v6.1.0)

    • bug #46443 Don't reinit managers when they are proxied as ghost objects (nicolas-grekas)
    • bug #46098 Fix same choice loader with different choice values (HeahDude)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.9(May 27, 2022)

    Changelog (https://github.com/symfony/doctrine-bridge/compare/v6.0.8...v6.0.9)

    • bug #46443 Don't reinit managers when they are proxied as ghost objects (nicolas-grekas)
    • bug #46098 Fix same choice loader with different choice values (HeahDude)
    • bug #46282 Treat firstResult === 0 like null (derrabus)
    Source code(tar.gz)
    Source code(zip)
Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer

Spot DataMapper ORM v2.0 Spot v2.x is built on the Doctrine DBAL, and targets PHP 5.4+. The aim of Spot is to be a lightweight DataMapper alternative

Spot ORM 602 Dec 27, 2022
:gem: Simple MySQLi Abstraction Layer + Doctrine/DBAL support

?? Simple MySQLi Class This is a simple MySQL Abstraction Layer compatible with PHP 7+ that provides a simple and secure interaction with your databas

Lars Moelleken 40 Sep 5, 2022
Doctrine Database Abstraction Layer

Doctrine DBAL 4.0-dev 3.0 2.13 N/A N/A Powerful database abstraction layer with many features for database schema introspection, schema management and

Doctrine 8.9k Dec 28, 2022
A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen

Laravel Doctrine ORM A drop-in Doctrine ORM 2 implementation for Laravel 5+ $scientist = new Scientist( 'Albert', 'Einstein' ); $scientist->a

Laravel Doctrine 777 Dec 17, 2022
🔌 A Doctrine DBAL Driver implementation on top of Swoole Coroutine PostgreSQL extension

Swoole Coroutine PostgreSQL Doctrine DBAL Driver A Doctrine\DBAL\Driver implementation on top of Swoole\Coroutine\PostgreSQL. Getting started Install

Leo Cavalcante 19 Nov 25, 2022
Psalm Stubs for doctrine/mongodb-odm library

doctrine-mongodb-psalm-plugin A Doctrine plugin for Psalm (requires Psalm v4). Installation: $ composer require --dev runtothefather/doctrine-mongodb-

Evgeny 6 Jun 15, 2022
Doctrine PHP mapping driver

WORK IN PROGRESS! Doctrine PHP mapping driver Alternative mapping driver that allows to write mappings in PHP. Documentation Associations examples TOD

Andrey Klimenko 3 Aug 15, 2021
Doctrine extension to persist spatial data objects.

doctrine-Spatial Doctrine-spatial is a doctrine extension. It implements spatial types and functions. As exemple, this extension can help you to know

LongitudeOne 36 Jan 7, 2023
Monadic Doctrine repositories helper classes and services.

Doctrine Repository Monadic Helper Description This project provides the necessary classes and services to use Doctrine repositories in a more functio

(infinite) loophp 10 Aug 29, 2022
PostgreSQL enhancements for Doctrine

PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions.

Martin Georgiev 258 Dec 31, 2022