tomboone / d8-project
Project template for Drupal 8 projects with composer
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Type:project
Requires
- php: >=7.0.8
- composer/installers: ^1.2
- cweagans/composer-patches: ^1.6.5
- drupal-composer/drupal-scaffold: ^2.5
- drupal/adminimal_admin_toolbar: ^1.10
- drupal/adminimal_theme: ^1.5
- drupal/bootstrap: ^3.20
- drupal/console: ^1.0.2
- drupal/core: ^8.7.0
- drush/drush: ^9.0.0
- tomboone/bootstrap_sass: ^1.0.0
- tomboone/d8-scripts: ^0.1.0
- webflo/drupal-finder: ^1.0.0
- webmozart/path-util: ^2.3
- zaporylie/composer-drupal-optimizations: ^1.0
Requires (Dev)
- webflo/drupal-core-require-dev: ^8.7.0
Conflicts
README
This is a customized version of Drupal Composer that removes that project's env settings and adds some requirements I use in every Drupal 8 project:
- Bootstrap theme
- A custom Bootstrap Sass subtheme
- Adminimal theme
- Adminimal admin toolbar
- Some custom scripts I use for automating core/contrib updates
- A default Lando config file
Installation
To create a Drupal 8 instance from this project, just run:
composer create-project tomboone/d8-project:~1.0 drupal --stability dev --no-interaction
Using with Lando
To use the included Lando config, open .lando.yml
and in line 1 replace {LANDOPROJECT} with the name you'd like to give your project. Then run:
lando start
Once the Lando container is up and running, to install a Drupal site, run:
lando drush site-install --db-url=mysql://drupal8:drupal8@database/drupal8
To use the included Bootstrap Sass subtheme, you'll need to initialize it with Compass. The Lando config installs Compass in your container automatically, so to get started, just run the following commands:
cd web/themes/contrib/bootstrap_sass
lando compass init
For additional information about the subtheme, see: https://github.com/tomboone/bootstrap_subtheme