2017 © Pedro Peláez
 

library drupal-site-scaffolder

Composer template for a drupal website

image

kgaut/drupal-site-scaffolder

Composer template for a drupal website

  • Tuesday, January 5, 2016
  • by kgaut
  • Repository
  • 1 Watchers
  • 3 Stars
  • 26 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 9 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Drupal Site Scaffolder

Main goal

Easily start a new Drupal 7 / 8 project with main modules built over composer, (*1)

Dependencies

This scaffolder require composer, a PHP dependencies manager., (*2)

What it does ?

It will download the last 7.x or 8.x release of Drupal, and a list of useful modules., (*3)

It copy the default.settings.php to settings.php, create the files and tmp folder (within sites/default)., (*4)

The .gitignore file is here to prevent you to put under versioning core and modules. (See .gitignore section for more information.), (*5)

At the end, a script ask you if you want to create a MySQL database., (*6)

Get started

Open a terminal and move to the folder you want to use, it should be empty, then launch the command :, (*7)

For Drupal 7 : composer create-project kgaut/drupal-site-scaffolder ./ "7.*", (*8)

For Drupal 8 : composer create-project kgaut/drupal-site-scaffolder ./ "8.*", (*9)

The script is loooong and it does not output much, if you wish, you can use -vvv parameter in order to set it more verbose., (*10)

For Drupal 7 : composer create-project kgaut/drupal-site-scaffolder ./ "7.*" -vvv, (*11)

For Drupal 8 : composer create-project kgaut/drupal-site-scaffolder ./ "8.*" -vvv, (*12)

If you'd rather install it in a custom folder you can specify it with :, (*13)

For Drupal 7 : composer create-project kgaut/drupal-site-scaffolder my_custom_folder "7.*", (*14)

For Drupal 8 : composer create-project kgaut/drupal-site-scaffolder my_custom_folder "8.*", (*15)

.gitignore

As said previously, the .gitignore file is here to prevent you to put under versioning core and modules., (*16)

The modules within sites/*/modules/contrib/ are excluded, your customs modules has to be under sites/*/modules/ in order to not being ignored. (ie : sites/all/modules/my_module will be versioned but not sites/all/modules/contrib/views), (*17)

Same thing for themes, within sites/*/themes/contrib/ are excluded, those under sites/*/theme/ are not. (ie : sites/all/themes/my_theme will be versioned but not sites/all/themes/contrib/zen), (*18)

Add contributed modules and themes

Composer use the Drupal Packagist repository in order to download / update modules., (*19)

If you want to add a module or a theme, let's say zen base theme for example type the following command :, (*20)

composer require drupal/zen:"7.*"

Update drupal core and contrib modules

In order to update core and modules, you should launch the command, (*21)

composer update

It will update the composer.lock file with the new version for updated dependencies., (*22)

If you prefer to check the available updates you can do a dry run :, (*23)

composer update --dry-run

this will only simulate the changes., (*24)

Also you can update only one dependency by specifying it :, (*25)

composer update drupal/zen

Use patchs for core and modules

If you need to patch core or a module, thanks to cweagans/composer-patches, you can !, (*26)

Within the patches section add and adapt the following example :, (*27)

"drupal/twitter": {
  "Allow to add tracking arguments to URL": "https://www.drupal.org/files/issues/twitter-post-allow-to-add-tracking-to-url-2582287-6.patch"
}

The key specify the module to patch (here : twitter), then the array contains a list of patches, the key is a description, the value is the path to the patch, it could be an url, or a relative path to a file on your system., (*28)

Complete example :, (*29)

"patches": {
  "drupal/twitter": {
    "Allow to add tracking arguments to URL": "https://www.drupal.org/files/issues/twitter-post-allow-to-add-tracking-to-url-2582287-6.patch"
  }
}

Thanks to

Based on the work of webflo on drupal-project., (*30)

The Versions

05/01 2016

8.x-dev

8.9999999.9999999.9999999-dev https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

 

drupal drupal8

05/01 2016

7.x-dev

7.9999999.9999999.9999999-dev https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*
  • kgaut/ckeditor_responsive_plugin dev-7.x-1.x

 

drupal drupal7

05/01 2016

7.0.7

7.0.7.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*
  • kgaut/ckeditor_responsive_plugin dev-7.x-1.x

 

drupal drupal7

15/12 2015

7.0.6

7.0.6.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*
  • kgaut/ckeditor_responsive_plugin dev-7.x-1.x

 

drupal drupal7

15/12 2015

7.0.5

7.0.5.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*
  • kgaut/ckeditor_responsive_plugin dev-7.x-1.x

 

drupal drupal7

15/12 2015

0.0.4

0.0.4.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*
  • kgaut/ckeditor_responsive_plugin dev-7.x-1.x

 

drupal drupal7

08/12 2015

0.0.3

0.0.3.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*
  • kgaut/ckeditor_responsive_plugin dev-7.x-1.x

 

drupal drupal7

08/12 2015

0.0.2

0.0.2.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*

 

drupal drupal7

08/12 2015

0.0.1

0.0.1.0 https://github.com/kgaut/drupal-site-scaffolder

Composer template for a drupal website

  Sources   Download

GNU GPL v2

The Requires

  • composer/installers ~1.0
  • cweagans/composer-patches ^1.3
  • davidbarratt/custom-installer dev-master
  • derhasi/composer-preserve-paths 0.1.*
  • drupal/admin_menu 7.3.*
  • drupal/admin_views 7.1.*
  • drupal/adminimal_admin_menu 7.1.*
  • drupal/adminimal_theme 7.1.*
  • drupal/autocomplete_deluxe 7.2.*
  • drupal/ckeditor 7.1.*
  • drupal/coffee 7.2.*
  • drupal/composer_vendor 7.1.*
  • drupal/context 7.3.*
  • drupal/ctools 7.1.*
  • drupal/date 7.2.*
  • drupal/devel 7.1.*
  • drupal/diff 7.3.*
  • drupal/drupal 7.*
  • drupal/entity 7.1.*
  • drupal/environment_indicator 7.2.*
  • drupal/features 7.2.*
  • drupal/google_analytics 7.2.*
  • drupal/imagecache_actions 7.1.*
  • drupal/imagecache_token 7.1.*
  • drupal/imce 7.1.*
  • drupal/imce_mkdir 7.1.*
  • drupal/jquery_update 7.2.*
  • drupal/l10n_update 7.1.*
  • drupal/libraries 7.2.*
  • drupal/linkit 7.3.*
  • drupal/menu_block 7.2.*
  • drupal/metatag 7.1.*
  • drupal/module_filter 7.2.*
  • drupal/pathauto 7.1.*
  • drupal/redirect 7.1.*
  • drupal/rules 7.2.*
  • drupal/schemaorg 7.1.*
  • drupal/stage_file_proxy 7.1.*
  • drupal/strongarm 7.2.*
  • drupal/token 7.1.*
  • drupal/transliteration 7.3.*
  • drupal/uuid 7.1.*
  • drupal/variable 7.2.*
  • drupal/views 7.3.*
  • drupal/views_bulk_operations 7.3.*
  • drupal/xmlsitemap 7.2.*

 

drupal drupal7