Download the PHP package elendev/composer-push without Composer

On this page you can find all versions of the php package elendev/composer-push. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package composer-push

Push command for composer

This composer plugin provide a composer push command that allow to push the current package into a distant composer repository.

Currently supported repositories are:

Installation

Important note

This plugin is the continuation of elendev/nexus-composer-push, you have to migrate to this one if you haven't done it yet.

Usage

Many of the options are optional since they can be added directly to the composer.json file.

Configuration

It's possible to add some configurations inside the composer.json file

Above configuration may be called unique repository configuration format, as you can only configue one repository in composer.json.

In practice, for security reasons, different versions of component code, such as production and development, often apply different deployment policy, such as disable redeploy for the production version and allow redeploy for the development version, so they need to be stored in different repositories. For versions later than 0.1.5, the command-line parameter -- repository is introduced to meet this requirement. To enable the -- repository parameter, the composer.json file needs to be in the following format:

Above configuration may be called multi repository configuration format.

The new version continues to support parsing the unique repository configuration format, but remember that you cannot use the -- repository command line argument in this scenario.

The username and password can be specified in the auth.json file on a per-user basis with the authentication mechanism provided by Composer.

Global configuration

It's also possible to add some configuration inside global composer.json located at composer home (composer config -g home).

Following precedence order will be used for each key:

Array values will not be merged.

The command-line parameter -- repository is required if local configuration is multi repository. Global unique repository configuration will be ignored in that case.

Multi repository configuration will be merged by the name key.

Providers

Specificity for some of the providers.

Nexus

Source type, URL, reference

This is an optional part that can be added to the composer.json file provided for the package which can contain the source reference for this version. This option is useful in case you have a source manager and you would like to have a direct link to the source of an specific version. The example above given will read the last commit ID from git and the remote address from git as well which is quiet simple and useful.

Artifactory

Tokens

Tokens are currently supported when used as password. The username is still required for it to work.

Standalone tokens are currently not supported.

Example of token usage:


All versions of composer-push with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2 || ^8.0
ext-curl Version *
ext-json Version *
ext-zip Version *
composer-plugin-api Version ^1.1|^2.0
guzzlehttp/guzzle Version ^6.0|^7.0
symfony/finder Version ^4.0|^5.0|^6.0
symfony/filesystem Version ^4.0|^5.0|^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package elendev/composer-push contains the following files

Loading the files please wait ....