Download the PHP package lastcall/composer-extra-files without Composer
On this page you can find all versions of the php package lastcall/composer-extra-files. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lastcall/composer-extra-files
More information about lastcall/composer-extra-files
Files in lastcall/composer-extra-files
Package composer-extra-files
Short Description Composer plugin for requiring additional files from composer packages.
License MIT
Informations about the package composer-extra-files
Composer Extra Files Plugin
Composer Extra Files Plugin is brought to you by your friends at Last Call Media, this composer plugin allows you to request additional files to be downloaded with your composer package.
When should I use this?
The most common use case is if you have compiled front-end code, where the compiled version is never committed to a git repository, and therefore isn't registered on packagist.org. For example, if you want your distributed package to depend on an NPM/Bower package.
Note: You probably shouldn't use this if you have the ability to add repositories to your project's root composer.json. There are better alternatives for this. See Composer Asset Plugin and Asset Packagist. This plugin is most useful for packages that are required by other packages, since Composer doesn't allow nested repositories.
Usage
In your package's composer.json, require this plugin, and specify the extra files in the "extra" section:
The ui
identifier here is an arbitrary ID for each dependency.
The url
key specifies the URL to fetch the content from. If it points to a tarball or zip file, it will be unpacked on downloading.
The path
key specifies the folder (relative to where your package is installed in /vendor) that the content is installed into.
All versions of composer-extra-files with dependencies
php Version >=5.6