druidfi / mona
Example setup using mona-plugin
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 2
Language:Makefile
Type:project
Requires
- ckeditor/ckeditor: ^4.11
- druidfi/mona-plugin: ^1.4.0
- drupal/adminimal_theme: ^1.24
- drupal/ckeditor: ^1.18
- drupal/drupal: ^7.70
- drupal/entity: ^1.9
- drupal/features: ^2.11
- drupal/i18n: ^1.26
- drupal/module_filter: ^2.1
- drupal/pathauto: ^1.3
- drupal/registry_rebuild: ^2.5
- drupal/strongarm: ^2.0
- drupal/token: ^1.7
- drupal/views: ^3.20
Suggests
- drupal/system_status: Lumturio service to track all of the necessary upgrades and vulnerabilities
This package is auto-updated.
Last update: 2020-11-11 11:22:39 UTC
README
Installing Drupal 7 codebase with Composer instead of Drush Make.
Features
- Loads Drupal 7 core
- Loads Drupal contrib modules
- Loads Drupal contrib themes
- Loads latest Drush 8
- Loads Drush extensions
- Loads libraries e.g. CKEditor
- Patches any package
- Symlinks all relevant files and folder from
vendor
topublic
- Includes Amazee.io local development environment with Docker
- Travis tested
How this differs from drupal-composer/drupal-project:7.x ?
- Mona is a little more opinionated than drupal-project
- Require PHP 7.1 or newer (Drupal 7 got full PHP 7.2 support with 7.61)
- Mona copies Drupal core files and folders to webroot
- Mona uses symlinking plugin, drupal-project uses preserve-paths plugin
- Mona includes Docker development environment from Amazee.io
You can find drupal-composer/drupa-project:7.x here: https://github.com/drupal-composer/drupal-project/tree/7.x
Create a new project with Mona
$ composer create-project druidfi/mona:dev-master YOUR_PROJECT --no-interaction
How to add a new module or theme
Require a new module (latest version):
$ composer require drupal/pathauto
Or certain version:
$ composer require 'drupal/pathauto:^1.3'
Default symlinking configuration
{ "extra": { "mona-plugin": { "symlinks": { "vendor/ckeditor": "public/sites/all/libraries/ckeditor" } } } }
How to patch
{ "extra": { "patches": { "drupal/drupal": { "https://www.drupal.org/i/1232572": "https://www.drupal.org/files/issues/1232572-76.drupal-7.disable-file-permissions-fix.patch" } } } }
Where the name "Mona" comes from?
Mona was the island of the Celts and their priests, the druids. It was the name of Isle of Anglesey from Roman times. Our Drush Make based tool is called "Mana" so this is also close to that.
Other information
This project is found from the Packagist: https://packagist.org/packages/druidfi/mona