Lines Matching refs:package

47      * Returns a list of all package names which are present, either by being installed, replaced or provided
67 * Returns a list of all package names with a specific type e.g. 'library'
78 foreach ($installed['versions'] as $name => $package) {
79 if (isset($package['type']) && $package['type'] === $type) {
89 * Checks whether the given package is installed
91 * This also returns true if the package name is provided or replaced by another package
109 * Checks whether the given package satisfies a version constraint
111 * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
129 * Returns a version constraint representing all the range(s) which are installed for a given package
132 * whether a given version of a package is installed, and not just whether it exists
166 * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
187 * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
208 * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
229 * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
268 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
343 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937