Download the PHP package roygoldman/composer-installers-discovery without Composer

On this page you can find all versions of the php package roygoldman/composer-installers-discovery. 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-installers-discovery

Composer Installers Dependency Search

An extension for composer/installers which allows project dependencies to define installer types, and the install locations for those types.

Composer Installers Support

This project doesn't depend on the Composer Installers project, and it will not be included as a dependency of this project. This project can be used completely independently and it will support any custom installer path defined in a package required by the project.

How to Use

To use this project, require it as part of your composer project or library.

Once this project is required, then any module installs will respect the installer configuration of the other dependencies. Any project defining the installer-paths key it the extra section of its composer.json will be included in the package.

To add this to you project, simply defined this section in your project.

Limitations

There are some limitations to this module use case. Package discovery iterates over each packages dependencies in the order they are defined in the requires block of the package. This means that if multiple projects define path mapping for the same package type, only the path for the first project will be used.

Additionally, if a package defines its own mappings, they will override the mappings of projects which are required by them. However, if the same package is required twice, and the high priority package isn't otherwise overridden, it will be used instead of the dependent package.

As a result of these two limitations, the order of packages can directly effect the mapping of the installer paths. If this is an issue, please file an issue on github, so I can find a good solution for your use case.

Overriding paths of dependencies

A root project is the highest authority on installer paths. This means that any installer paths defined in the root package, will be used instead of those defined by the dependencies. This allows a user to opt out of a dependency's installer paths, or replace them.

Support

If you have any questions, comments, or feedback on this module, please open an issue on GitHub. I would like to solve any compatibility and use case issues as well as incorporate new features into this project where its logical. If you could spend some time debugging and possibly fixing issues, its appreciated and pull requests are always welcome!


All versions of composer-installers-discovery with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^1.1
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 roygoldman/composer-installers-discovery contains the following files

Loading the files please wait ....