Download the PHP package druidfi/mona-plugin without Composer
On this page you can find all versions of the php package druidfi/mona-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download druidfi/mona-plugin
More information about druidfi/mona-plugin
Files in druidfi/mona-plugin
Package mona-plugin
Short Description Mona Composer Plugin for Drupal 7 sites
License MIT
Informations about the package mona-plugin
Mona Composer Plugin
Composer plugin to symlink paths to create Composer based Drupal 7 installation.
Install / update
To install / update the latest stable version of this component, open a console and execute the following command:
Note!
If you for some reason must use Composer v1 and/or PHP < 7.3, you can require 1.x version of Mona Plugin:
Includes
This plugin will also require for you the following packages:
- composer/installers:^2.0
- cweagans/composer-patches:^1.7
- drush/drush:^8.4
Usage
Configuration
Drupal repository must be defined:
Plugin default values (AKA you don't need to add these if not overriding):
Symlinking
Create the symlinks to extra.mona-plugin.symlinks
section.
Set symlinks-skip-missing-target
to true if we should not throw exception if target path doesn't exists
Set symlinks-absolute-path
to true if you want to create realpath symlinks
Set symlinks-throw-exception
to false if you dont want to break creating on some error while check symlinks
Set symlinks-force-create
to force unlink link if something already exists on link path
You can set personal configs for any symlink.
For personal configs link
must be defined
Adding library as a drupal-library
If you need library to be installed to sites/all/libraries
,
you can list it as a Drupal library if it's found from Packagist:
or you can define a custom repository:
Development
Install with dev dependencies:
Run PHP CS Fixer:
Forked from
This plugin is based on ComposerSymlinks and modified to be used with Drupal 7 Composer based installations. Mona Composer Plugin is released under same license.
License
This component is under the MIT license. See the complete license in the LICENSE file.
All versions of mona-plugin with dependencies
composer-plugin-api Version ^2.0 || ^2.1
composer/installers Version ^1.11 || ^2.0
cweagans/composer-patches Version ^1.7
drush/drush Version ^8.4