mog33 / drupal-composer-advanced-template
Drupal 10 project with composer, boosted!
Requires
- bower-asset/cropper: ^4.1
- bower-asset/dropzone: ^5.9
- bower-asset/exif-js: ^2.3
- bower-asset/select2: ^4.0
- composer/installers: ^2.2
- cweagans/composer-patches: ^1.7
- drupal/access_unpublished: ^1.5
- drupal/admin_toolbar: ^3.4
- drupal/advanced_text_formatter: ^3@RC
- drupal/allowed_formats: ^3.0
- drupal/back_to_top: ^3.0
- drupal/backup_migrate: ^5.0
- drupal/big_pipe_sessionless: ^2.2
- drupal/ckeditor_specialchars: ^1.2
- drupal/coi: ^4.0
- drupal/config_filter: ^2.6
- drupal/config_readonly: ^1@BETA
- drupal/config_split: ^2.0
- drupal/config_update: ^2.0@alpha
- drupal/contact_formatter: ^2.0
- drupal/contact_storage: ^1.3
- drupal/content_moderation_edit_notify: ^2.0
- drupal/core-composer-scaffold: ^10.4@STABLE
- drupal/core-project-message: ^10.4@STABLE
- drupal/core-recommended: ^10.4@STABLE
- drupal/crop: ^2.3
- drupal/ctools: ^4
- drupal/dropzonejs: ^2.10
- drupal/ds: ^3
- drupal/dynamic_layouts: ^2.0
- drupal/embed: ^1.7
- drupal/entity: ^1.4
- drupal/entity_browser: ^2.10
- drupal/entity_browser_block: ^1.3
- drupal/entity_browser_enhanced: ^2.0
- drupal/entity_embed: ^1.6
- drupal/entity_reference_revisions: ^1.11
- drupal/entity_usage: ^2@BETA
- drupal/field_display_label: ^1.3
- drupal/field_group: ^3.4
- drupal/file_management: ^2.1
- drupal/flood_settings: ^2.0
- drupal/focal_point: ^2.1
- drupal/form_options_attributes: ^2.0
- drupal/google_analytics: ^4.0
- drupal/group: ^3.2
- drupal/honeypot: ^2.1
- drupal/image_widget_crop: ^2.4
- drupal/imageapi_optimize: ^4.0
- drupal/inline_entity_form: ^3@RC
- drupal/layout_options: ^1.5
- drupal/linkit: ^6.1
- drupal/mailsystem: ^4.4
- drupal/manage_display: ^3.0
- drupal/markup: ^2@BETA
- drupal/media_entity_browser: ^2
- drupal/media_entity_slideshow: ^2.5
- drupal/menu_admin_per_menu: ^1.5
- drupal/menu_block: ^1.11
- drupal/menu_breadcrumb: ^2@ALPHA
- drupal/metatag: ^2.0
- drupal/multiple_fields_remove_button: ^2.2
- drupal/options_table: ^2.1
- drupal/override_node_options: ^2.8
- drupal/paragraphs: ^1.17
- drupal/paragraphs_edit: ^3.0
- drupal/paragraphs_previewer: ^1.9
- drupal/pathauto: ^1.12
- drupal/pathologic: ^2@ALPHA
- drupal/redirect: ^1.9
- drupal/responsive_preview: ^2.1
- drupal/revision_log_default: ^1.3
- drupal/scheduler: ^2.0
- drupal/scheduler_content_moderation_integration: ^2@BETA
- drupal/search_api: ^1.34
- drupal/search_api_sorts: ^1.1
- drupal/select2: ^1.15
- drupal/simple_sitemap: ^4.1
- drupal/simplei: ^3.0
- drupal/smart_trim: ^2.1
- drupal/token: ^1.14
- drupal/twig_tweak: ^3.3
- drupal/ui_patterns: ^1.8
- drupal/ui_patterns_settings: ^2.3
- drupal/ui_skins: ^1.0@alpha
- drupal/ui_styles: ^1.9
- drupal/userprotect: ^1.2
- drupal/video_embed_field: ^2.5
- drupal/view_mode_switch: ^2.0
- drupal/views_bulk_edit: ^2.9
- drupal/views_bulk_operations: ^4.2
- drupal/views_field_formatter: ^4.0
- drupal/views_infinite_scroll: ^2.0
- drupal/viewsreference: ^2@BETA
- drupal/webp: ^1@RC
- drush/drush: ^12
- npm-asset/accessible360--accessible-slick: ^1.8
- oomphinc/composer-installers-extender: ^2.0
- vlucas/phpdotenv: ^5.6
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- drupal/core-dev: ^10.4@STABLE
- drupal/devel: ^5.2
- drupal/devel_generate: ^5.2
- drupal/devel_php: ^1.7
- drupal/webprofiler: ^10.1
- ergebnis/composer-normalize: ^2.43
- mglaman/phpstan-drupal: ^1.2
- phpmd/phpmd: ^2.15
- phpstan/phpstan-deprecation-rules: ^1.2
- squizlabs/php_codesniffer: *
Conflicts
Replaces
- bower-asset/backbone: *
- bower-asset/bootstrap: *
- bower-asset/jquery: *
- bower-asset/jqueryui: *
- bower-asset/underscore: *
- npm-asset/backbone: *
- npm-asset/jquery: *
- npm-asset/jqueryui: *
- npm-asset/underscore: *
This package is auto-updated.
Last update: 2025-03-10 13:38:42 UTC
README
Enhanced Drupal 10 profile to kickstart a website.
What's this?
This project is meant to be a starting point for a developer, not a ready to use Drupal with functionalities. For more advanced profiles see:
What's included / added
- Third party libraries download with Asset packagist
- Drupal basic configuration with Dev / Prod environment, see Workflow readme
- Creates environment variables based on your .env file. See .env.example, inspired from drupal-project
- Some patches for core
- A Full Gitlab-CI support for build, tests, code quality, linting, metrics and deploy, see Gitlab-CI for Drupal
Install
Requirements
Require Composer 2+ with Php 8.1+ and Php modules needed for composer.
Grab code and libraries
Get and install this project
composer create-project mog33/drupal-composer-advanced-template:10.x drupal --stability dev --no-interaction
Set /web as root of your host (Apache).
Other folders (eg: vendor) should be accessible by Webserver user and not from HTTP.
Drupal installation
Server / remote installation
-
Create a database and a user access to this database.
-
Fix files and folder permissions of /web folder regardless of Securing file permissions and ownership
-
Edit
.env
and selectSETTINGS_ENVIRONMENT
value, dev will enable development modules and settings -
Install Drupal and choose profile Use existing configuration
Quick local setup with ddev
This project include a simple Docker stack based on great project Ddev.
Install Ddev
On linux:
make install