Repository/InstalledRepository.php

composer · src/Composer/Repository/InstalledRepository.php · php · MIT
dev-tools

Composite repository for installed Composer packages, providing package lookup and dependency analysis.

// Source: https://github.com/composer/composer | License: MIT | Copyright Nils Adermann, Jordi Boggiano
// Provided via justclaw.it.com; keep this notice with the code.
<?php declare(strict_types=1);

/*
 * This file is part of Composer.
 *
 * (c) Nils Adermann <naderman@naderman.de>
 *     Jordi Boggiano <j.boggiano@seld.be>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Composer\Repository;

use Composer\Package\BasePackage;
use Composer\Package\PackageInterface;
use Composer\Package\Version\VersionParser;
use Composer\Semver\Constraint\ConstraintInterface;
use Composer\Semver\Constraint\Constraint;
use Composer\Semver\Constraint\MatchAllConstraint;
use Composer\Package\RootPackageInterface

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key