robertoperuzzo / drupal-starter
Project template for Drupal 9 projects with a relocated document root
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- composer/installers: ^1.9
- cweagans/composer-patches: ^1.7
- drupal/admin_toolbar: ^3.0
- drupal/captcha: ^1.0
- drupal/config_ignore: ^2.1
- drupal/config_split: ^1.7
- drupal/console: ^1.9
- drupal/core-composer-scaffold: ^9.2
- drupal/core-project-message: ^9.2
- drupal/core-recommended: ^9.2
- drupal/ctools: ^3.7
- drupal/easy_breadcrumb: ^2.0
- drupal/google_analytics: ^3.0
- drupal/iubenda_integration: ^3.0
- drupal/metatag: ^1.16
- drupal/monolog: ^2.0
- drupal/paragraphs: ^1.12
- drupal/pathauto: ^1.8
- drupal/permissions_filter: ^1.0
- drupal/recaptcha: ^3.0
- drupal/redirect: ^1.6
- drupal/redis: ^1.5
- drupal/schema_metatag: ^2.2
- drupal/simple_sitemap: ^3.10
- drupal/twig_tweak: ^3.1
- drush/drush: ^10.5
- lucacracco/robo-drupal: ^2.0
- platformsh/config-reader: ^2.4
Requires (Dev)
- behat/mink: ^1.8
- behat/mink-selenium2-driver: ^1.4
- bex/behat-screenshot: ^2.1
- composer/composer: ^2.0.2
- drupal/coder: ^8.3.10
- drupal/config_devel: ^1.7
- drupal/config_inspector: ^1.1
- drupal/core-dev: ^9.2
- drupal/devel: ^4.0.0
- drupal/drupal-extension: ^4.0
- friends-of-behat/mink-browserkit-driver: ^1.4
- mikey179/vfsstream: ^1.6.8
- phpunit/phpunit: ^8.5.14 || ^9
Conflicts
This package is auto-updated.
Last update: 2025-03-18 16:32:26 UTC
README
Ex. The project contains the company's website.
Using as a reference
You can use this repository as a reference for your own Drupal projects, and borrow whatever you need.
Create new project
composer create-project robertoperuzzo/drupal-starter:dev-gitpod-drupal-10.x my-project-folder
How does this starter kit differ from vanilla Drupal in Drupal.org?
We added DDEV configuration in .ddev
folder.
Starting your local environment
First of all you need Docker and DDEV.
1. Clone the project
Clone this repository wherever you want
git clone git@.... [project-folder-name]
cd [project-folder-name]
2. Build
Start local environment and install drupal from scratch using the current configurations
ddev build
Environment management commands
Here some useful commands to manage your local environment.
Local deployment
When you download new code (git pull
from repository) you need to run
the following commands in order to sync your local environment:
ddev composer install --prefer-dist
ddev robo scaffold
ddev robo deploy
Export/import configuration
When you change some configuration you have to run:
ddev robo config:export
If you need to sync your local configuration you have to run:
ddev robo config:import
Export/import database
If you need to export the database dump you have to run:
ddev robo database:export
If you need to import the database dump you have to run:
ddev robo database:import [/path/of/dump.sql]
Contrib Modules
This starter kit contains the following contrib modules dependencies:
Module name | Package |
---|---|
Admin Toolbar | drupal/admin_toolbar |
Chaos tool suite (ctools) | drupal/ctools |
Config Filter | drupal/config_filter |
Config Ignore | drupal/config_ignore |
Configuration Split | drupal/config_split |
Mail System | drupal/mailsystem |
Metatag | drupal/metatag |
Monolog | drupal/monolog |
Pathauto | drupal/pathauto |
Redirect | drupal/redirect |
Reroute Email | drupal/reroute_email |
Simple XML sitemap | drupal/simple_sitemap |
Sitemap | drupal/sitemap |
Stage file proxy | drupal/stage_file_proxy |
Token | drupal/token |
Twig Tweak | drupal/twig_tweak |
Permissions filter | drupal/permissions_filter |