bluehorndigital / mojo-drupal-scaffold
Package info
github.com/bluehorndigital/mojo-drupal-scaffold
Type:composer-plugin
pkg:composer/bluehorndigital/mojo-drupal-scaffold
Requires
- php: ^7.4 || ^8.0
- composer-plugin-api: ^1.1 || ^2.0
- drupal/core-composer-scaffold: ^9.0
- vlucas/phpdotenv: ^5.3
Requires (Dev)
None
Suggests
- drupal/flysystem_s3: Asset storage through the Flysystem library and S3 compatible object storage.
- drupal/redis: Redis key-value store for caching.
- drupal/swiftmailer: HTML friendly emails through Swiftmailer
Provides
None
Conflicts
Replaces
None
README
Scaffolding to add some Mojo to your Drupal projects.
This package adds scaffolding files for your Drupal project by integrating with drupal/core-composer-scaffold.
Install
composer require bluehorndigital/mojo-drupal-scaffold
The package automatically adds itself to the allowed packages list for drupal/core-composer-scaffold.
Why?
Composer project templates are great, except they are a "fork and forget" model. This means various project files can drift and lose updates when there are upstream improvements.
The mojo-drupal-scaffold package aims to solve that problem by providing up to date files for your Drupal projects.
Batteries included
This package provides a settings.php that is powered by environment variables and supports Redis configuration and Flystem object storage for assets.
It also contains a preconfigured phpunit.xml.dist for testings and a development.services.yml for local development.
Credits
It was inspired by amazeeio/drupal_integrations which provides files to setup yuour Drupal project for Lagoon hosting.