PHP Package: doctrine/common

Doctrine Common is a PHP library that provides additional functionality for other Doctrine libraries.

Current Version: 3.5.0
Last Updated: 2025-01-01
PHP Requirement: ^7.1 || ^8.0
Dependencies:
doctrine/annotations
doctrine/cache
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Doctrine Common is a utility library that contains functions used by other Doctrine libraries. It aims to simplify common tasks in PHP applications, such as object management and persistence. The library includes various helper classes and functions to enhance the overall performance and functionality of your PHP projects.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.5.0

Download Download v3.5.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/doctrine/common/3.5.0/loader.php';
require_once 'libs/doctrine/annotations/2.0.2/loader.php';
require_once 'libs/doctrine/cache/2.2.0/loader.php';

use Doctrine\Common\EventManager;
use Doctrine\Common\Proxy\Proxy;

$obj = new EventManager();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.