Download the PHP package socialengine/composer-symlinker without Composer

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

Composer Symlinker Plugin

This Composer plugin allows you to install packages as local symbolic links, with the option to fallback to other install options. This allows you to locally develop a package and its dependencies in parallel.

This has been discussed as a possible improvement to Composer, but movement has been slow. See Composer issues #1299, and #4011 for example discussions.

This is a fork of piwi/composer-symlinker with some enhancements. Specifically:

Setup

First, add the plugin as a dependency in your composer.json:

Next, define local paths to your packages in an extra section of your composer.json. You have two options on how to declare the paths:

If you want to restrict which vendors to scan for locally, you can add a local-vendors list.

If a package is not found locally, the plugin will fall back to other install methods (like packagist/git).

Example Extra Section

Example Setup

Let's say we want to work on a project named MyProject base on three dependencies: MyPackage1 and MyPackage2 which are some of our packages, and a third-party ExternalPackage which is not.

Further, MyPackage1 is located at /opt/php/MyVendor/MyPackage1 and MyPackage2 can be found at ../my-package-2.

We can configure our composer.json like so:

So, when developing on our local box, composer install will install our packages as symlinks to their respective paths. If use the same composer.json on a box where the paths aren't valid, the packages will be installed normally.

Windows users warning

The plugin uses the internal symlink() PHP function. See Windows restrictions on the manual.

License

This is released under the MIT License.


All versions of composer-symlinker with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version 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 socialengine/composer-symlinker contains the following files

Loading the files please wait ...