Download the PHP package tavib47/drupal-boilerplate without Composer
On this page you can find all versions of the php package tavib47/drupal-boilerplate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tavib47/drupal-boilerplate
More information about tavib47/drupal-boilerplate
Files in tavib47/drupal-boilerplate
Package drupal-boilerplate
Short Description Project template for Drupal 11 projects
License GPL-2.0-or-later
Homepage https://www.drupal.org/project/drupal
Informations about the package drupal-boilerplate
Drupal 11 Boilerplate
A comprehensive project template for Drupal 11 development with pre-configured modules and development tools.
Quick Start
1. Create new project from template
2. Edit project details
Edit the project name, description and other details in the following files:
- composer.json
- example.robo.yml
- .ddev/config.yaml
- drush/example.drush.yml
- sites/default/settings.ddev.local.php
- README.md (also delete the Drupal 11 Boilerplate title and Quick Start section)
3. Configure DDEV
4. Install Drupal
5. Export configuration
6. Initialize git repository
My Project Name
I. Prerequisites
- mkcert (run
mkcert -install) - DDEV 1.22.0+ (https://ddev.com/get-started)
If you get the Could not connect to a docker provider. Please start or install a docker provider. error you need to add your user to docker group:
II. Project setup
- Clone the repository
- Copy
example.robo.ymltorobo.ymland customizeusername,passwordandadmin_username - Copy
.env.exampleto.env - Copy
drush/example.drush.ymltodrush/drush.yml
III. Installation
1. First time installation
2. Retrieving the database and files from production or staging
IV. Development
- Run
ddev startto start the project without reinstalling the database - Run
ddev stopto stop the project - Run
ddev launchto launch the application in the browser or access https://my-project-name.ddev.site:14443 - Running drush commands:
ddev drush command(e.g.ddev drush config:export) - Running custom apps within vendor:
ddev exec ./vendor/bin/app command(e.g.ddev exec ./vendor/bin/robo site:update)
Other scripts
./scripts/update.sh: Reinstalls all modules, libraries and updates the Drupal instance../scripts/code-qa.sh: Runs PHPCS and PHPCBF on custom modules and themes../scripts/start.sh: Starts the DDEV containers and launches the application in the browser.
Theme development
Node Version Manager and Node are already installed in the DDEV's web container.
Start a shell session in the web container (ddev ssh) and run the following commands:
- Go to theme directory:
cd web/themes/custom/theme_name - Install node version:
nvm install - Change node version:
nvm use - Run the watcher or the build command:
npm run watchnpm run build
Composer
DDEV provides a built-in command to simplify use of PHP’s dependency manager, Composer, without requiring it to be installed on the host machine.
ddev composer helpruns Composer’s help command to learn more about what’s available.
Email Capture and Review (MailHog)
After your project is started, access the MailHog web interface at http://my-project-name.ddev.site:18025, or run ddev launch -m to launch it in your default browser.
Using Development Tools on the Host Machine
Tools that interact with files and require no database connection, such as Git or Composer, can be run from the host machine against the codebase for a DDEV project with no additional configuration necessary.
Xdebug
- Configure PHPStorm debug: https://ddev.readthedocs.io/en/stable/users/debugging-profiling/step-debugging/#phpstorm-rundebug-configuration-debugging
- Run
ddev xdebug onto enable Xdebug - Run
ddev xdebug offto disable Xdebug
If you want to use Xdebug with a Drush command:
- Create a server in PHPStorm (Project settings->Servers) and name it
my-project-name.ddev.site - In the PHPStorm server configuration, map your host project directory to /var/www/html
- Run the drush command inside the container (
ddev ssh):./vendor/bin/drush command
All versions of drupal-boilerplate with dependencies
cweagans/composer-patches Version ^1.7
drupal/admin_toolbar Version ^3.5
drupal/ajax_loader Version ^2.1
drupal/anchor_link Version ^3.0
drupal/autologout Version ^2.0
drupal/better_exposed_filters Version ^7.0
drupal/captcha Version ^2.0
drupal/chosen Version ^5
drupal/ckeditor_accordion Version ^2.3
drupal/ckeditor_iframe Version ^3.1
drupal/cookies Version ^1.2
drupal/core-composer-scaffold Version ^11
drupal/core-project-message Version ^11
drupal/core-recipe-unpack Version ^11
drupal/core-recommended Version ^11
drupal/easy_breadcrumb Version ^2.0
drupal/easy_email Version ^3.0
drupal/editor_advanced_link Version ^2.3
drupal/environment_indicator Version ^4.0
drupal/facets Version ^2.0
drupal/field_group Version ^3.6
drupal/genpass Version ^2.1
drupal/gin Version ^5.0
drupal/gin_toolbar Version ^3.0
drupal/google_tag Version ^2.0
drupal/honeypot Version ^2.2
drupal/layout_builder_at Version ^3.0
drupal/layout_builder_operation_link Version ^2.2
drupal/mail_login Version ^4.0
drupal/metatag Version ^2.1
drupal/monolog Version ^3.0
drupal/pathauto Version ^1.13
drupal/rabbit_hole Version ^1.0
drupal/redirect Version ^1.10
drupal/redis Version ^1.10
drupal/remove_username Version ^1.5
drupal/restui Version ^1.22
drupal/search_api Version ^1.35
drupal/svg_image_field Version ^2.3
drupal/symfony_mailer_lite Version ^2.0
drupal/toolbar_language_switcher Version ^2.0
drupal/webform Version ^6.3@beta
drush/drush Version ^13.3
eaudeweb/heavy-lifter Version ^2
noli42/chosen Version ^3.0
tavib47/drupal-pixel-standard Version dev-main