Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Jul 10, 2024 via composer

doctrine/common 3.4.3

PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, proxies and much more.
Package summary
Share
0
issues
1
license
4
MIT
Package created
10 Oct 2011
Version published
9 Oct 2022
Maintainers
1
Total deps
4
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
doctrine/common@3.4.3
doctrine/event-manager@2.0.1
doctrine/persistence@3.3.3
psr/cache@3.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of doctrine/common 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
doctrine/persistence3.3.3-MIT
prod

Visualizations

Frequently Asked Questions

What does doctrine/common do?

The PHP Doctrine Common is an indispensable library that provides extensions to the core PHP functionality. Leveraged by other Doctrine projects, it offers enhanced reflection support, useful proxy classes, and a host of other functionalities that enrich the programming experience and streamline development work.

How do you use doctrine/common?

To utilize the functionalities of the Doctrine Common project in your PHP development work, you need to incorporate it as a composer package into your project. A common approach is to use the following command in your composer.json file.

{
    "require": {
        "doctrine/common": "^3.1"
    }
}

You may also install it directly via the command line using Composer:

composer require doctrine/common

After incorporating the package, you can integrate its functionalities into your PHP code as needed. For instance, you may use its persistent collection interface to handle collections of data:

use Doctrine\Common\Collections\Collection;

class MyEntity
{
    private $myCollection;

    public function getMyCollection(): Collection
    {
        return $this->myCollection;
    }
}

Remember that the use of Doctrine Common will vary depending on your specific use case and the functionality that you intend to leverage.

Where are the doctrine/common docs?

Comprehensive documentation for the Doctrine Common project is readily accessible, detailing the various functionalities it offers and how they can be effectively utilized. You can find the documentation on the Doctrine Project website at https://www.doctrine-project.org/projects/doctrine-common/en/current/. It serves as a valuable resource, providing in-depth exploration of the library and its capabilities.