How To Install Doctrine On Debian, Ubuntu, Kali, Fedora And Raspbian?

How To Install Doctrine On Debian, Ubuntu, Kali, Fedora And Raspbian?

doctrine

tool for object-relational mapping

Maintainer: Debian PHP PEAR Maintainers



Section: php

Install doctrine

  • Debian apt-get install php-doctrine-orm Click to copy
  • Ubuntu apt-get install php-doctrine-orm Click to copy
  • Kali Linux apt-get install php-doctrine-orm Click to copy
  • Fedora dnf install php-doctrine-orm Click to copy
  • Raspbian apt-get install php-doctrine-orm Click to copy

php-doctrine-orm

tool for object-relational mapping

Object-Relational-Mapper for PHP. Doctrine 2 is an object-relational mapper (ORM) for PHP that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication. The Doctrine Project provides several libraries primarily focused on database storage and object mapping.

Installing doctrine command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of doctrine 2026 package in your OS.