ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.61 kB
TypeScript
/**
* **composer** - Dependency Manager for PHP
*
* @domain `getcomposer.org`
* @programs `composer`, `composer.phar`
* @version `2.8.10` (31 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install composer`
* @name `composer`
* @dependencies `php.net`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.composer
* // Or access via domain
* const samePkg = pantry.getcomposerorg
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "composer"
* console.log(pkg.description) // "Dependency Manager for PHP"
* console.log(pkg.programs) // ["composer", "composer.phar"]
* console.log(pkg.versions[0]) // "2.8.10" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/getcomposer-org.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const composerPackage: {
/**
* The display name of this package.
*/
name: 'composer';
/**
* The canonical domain name for this package.
*/
domain: 'getcomposer.org';
/**
* Brief description of what this package does.
*/
description: 'Dependency Manager for PHP';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/getcomposer.org/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install composer';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['composer', 'composer.phar'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['php.net'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.8.10', '2.8.9', '2.8.8', '2.8.7', '2.8.6', '2.8.5', '2.8.4', '2.8.3', '2.8.2', '2.8.1', '2.8.0', '2.7.9', '2.7.8', '2.7.7', '2.7.6', '2.7.5', '2.7.4', '2.7.3', '2.7.2', '2.7.1', '2.7.0', '2.6.6', '2.6.5', '2.6.4', '2.6.3', '2.6.2', '2.6.1', '2.6.0', '2.5.8', '2.2.24', '2.2.23'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) +getcomposer.org -- $SHELL -i';
launchpadInstallCommand: 'launchpad install composer'
};
export type ComposerPackage = typeof composerPackage