doctrine/doctrine-bundle

Symfony DoctrineBundle

Official Recipe

Install

composer require doctrine/doctrine-bundle 
41M
Total
Downloads
1.1M
Monthly
Downloads
55k
Daily
Downloads
2.3k
Github
Stars
33
Open
Issues

Bundles

  • Doctrine\Bundle\DoctrineBundle\DoctrineBundle in all

Copy From Recipe

Environment Variables

  • #1 = Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  • #2 = For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
  • #3 = Configure your db driver and server_version in config/packages/doctrine.yaml
  • DATABASE_URL = mysql://db_user:db_password@127.0.0.1:3306/db_name

Versions