Download the PHP
package humweb/composer-link without Composer
On this page you can find all versions of the php package
humweb/composer-link. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor humweb Package composer-link Short Description Adds ability to link local packages for development with composer License
MIT
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.
Adds ability to link local packages in composer for development.
This plugin won't alter your composer.json or composer.lock file,
while maintaining the composer abilities to manage/upgrade your packages.
Installation
This plugin can be installed globally or per project
Globally
Per project:
Usage
The following three commands are made available by this plugin link, unlink and linked.
When the plugin is installed globally you can prefix the commands with global as example composer global linked
and install global packages.
To link a package you can use the link commands, you can also link a global package.
When linked to a global package absolute paths are used, when using a relative path composer-link resolves
it to the absolute path.
It's also possible to use a wildcard in your path, note that this will install all packages found in the directory ../packages
If you don't want to link all the packages but only the ones originally installed you can pass the --only-installed flag.
To unlink the package you can use the unlink command
To see all linked packages in your project you can use the linked command
Requiresphp Version
>=7.0 ext-json Version
* composer-plugin-api Version
^2.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 humweb/composer-link contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.