Download the PHP package joomlatools/composer without Composer
On this page you can find all versions of the php package joomlatools/composer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joomlatools/composer
More information about joomlatools/composer
Files in joomlatools/composer
Package composer
Short Description A Composer plugin to install Joomla extensions into your installation.
License GPL-3.0-only
Homepage https://github.com/joomlatools/joomlatools-composer
Informations about the package composer
Joomlatools Composer Installer
This Composer plugin will install extensions into your Joomla setup.
Usage
Defining a package
The easiest way to get started is by defining a custom package in your composer.json
file. All you need is the package file for the extension you wish to install. (ie. the installer file you downloaded from the vendor's website)
Update the composer.json
file in the root directory of your Joomla installation by adding the following properties:
Using this JSON file, we have now defined our own custom package. Pay attention to the following settings:
- The
type
has to be set tojoomlatools-extension
- Make sure the
url
directive points to the location of the install package.
Executing composer install
will now fetch the joomlatools/composer
plugin and use it to install the package into your Joomla installation.
For more information on creating these custom packages for projects which do not support Composer, see the Composer docs.
Creating a custom package
To make use of all Composer's features, eg. upgrading to a newer version, you are better off creating a package using your extension's source code.
The package definition should contain the following basic information to make it installable into Joomla:
If you want to make your extension available directly from Github or any other VCS, you want to make sure that the file layout in your repo resembles your install package.
If you want to move the main Joomla installer manifest to the repository root before running the installation, provide the following information in your composer.json
file:
If the package is for a Joomlatools Framework reusable component, provide the following information in your composer.json
file:
You can now publish your extension on Packagist or serve it yourself using your own Satis repository.
For more information on rolling your own package, please refer to the Composer documentation.
More
For more information, FAQ and examples, refer to our developer documentation.
Development
Refer to the wiki on how to set up this repository for local development.
Debugging
Having trouble? You can increase Composer's verbosity setting (-v|vv|vvv
) to gather more information. Increasing Composer's verbosity will also enable Joomla's log messages.
Requirements
- Composer
- Joomla version 3.6+
Contributing
The joomlatools/composer
plugin is an open source, community-driven project. Contributions are welcome from everyone. We have contributing guidelines to help you get started.
Contributors
See the list of contributors.
License
The joomlatools/composer
plugin is free and open-source software licensed under the GPLv3 license.
Community
Keep track of development and community news.
- Follow @joomlatoolsdev on Twitter
- Join joomlatools/dev on Gitter
- Read the Joomlatools Developer Blog
- Subscribe to the Joomlatools Developer Newsletter