{"id":23043317,"url":"https://github.com/theodorosploumis/drupal-experiments","last_synced_at":"2026-05-08T04:10:49.153Z","repository":{"id":45175593,"uuid":"439586896","full_name":"theodorosploumis/drupal-experiments","owner":"theodorosploumis","description":"Trying to demonstrate GitHub actions, ddev in Gitpod, git-hooks and more for a Drupal 9.x+ project","archived":false,"fork":false,"pushed_at":"2023-06-23T15:36:40.000Z","size":430,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T01:30:19.242Z","etag":null,"topics":["captainhook","ci-cd","cypress-io","ddev","drupal","drupal-9","git-hooks","github-actions","gitpod","howto","php","phpbrew","showcase"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theodorosploumis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-18T10:30:18.000Z","updated_at":"2023-07-07T17:13:26.000Z","dependencies_parsed_at":"2025-02-09T22:31:09.659Z","dependency_job_id":null,"html_url":"https://github.com/theodorosploumis/drupal-experiments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theodorosploumis/drupal-experiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodorosploumis%2Fdrupal-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodorosploumis%2Fdrupal-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodorosploumis%2Fdrupal-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodorosploumis%2Fdrupal-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theodorosploumis","download_url":"https://codeload.github.com/theodorosploumis/drupal-experiments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theodorosploumis%2Fdrupal-experiments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269969599,"owners_count":24505430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["captainhook","ci-cd","cypress-io","ddev","drupal","drupal-9","git-hooks","github-actions","gitpod","howto","php","phpbrew","showcase"],"created_at":"2024-12-15T20:47:02.358Z","updated_at":"2026-05-08T04:10:44.111Z","avatar_url":"https://github.com/theodorosploumis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal 9.x+ Demonstration\n\n## About\n\nA simple Unami website to demonstrate Drupal 9.x CI with GitHub actions, ddev, git-hooks, gitpod etc.\n\n## See also\n\n- https://github.com/theodorosploumis/drupal-example-10x\n\n## Development\n\n- For most of the tasks bellow there is a Robo command available. Run `./vendor/bin/robo` to get the list of available commands.\n- We use `.env` file for Database credentials and environment mode. See docs/settings/.env.example for reference.\n- According to the env variable \"MODE\" we include automatically the related `MODE.settings.local.php` file.\n- There are 3 available MODE options: `dev, stg, prd`.\n- All files under `docs` folder are tracked by vcs. Do not edit them for local development.\n- An additional local `settings.local.php` file can be added manually under `web/sites/default/` folder. This file is not tracked by vcs.\n- Check `web/sites/default/settings.php` for all the above instructions.\n- DDEV (https://ddev.readthedocs.io) was used for initial local development. Just run `ddev start \u0026\u0026 ddev robo site:install` and you will get a fresh copy of the website.\n- When exporting configuration with `drush cex` there is a list of excluded modules. See `docs/global.settings.php:$settings['config_exclude_modules']`\n- We use git as VCS.\n- Branch `master` is the development main branch. There are no `dev` or `stage` branches.\n- We use GitHub pull requests and feature branches.\n- For every new branch you create add the Jira issue prefix (eg `PROJ-77`). Example `PROJ-77_basic_structure`.\n- Add the Jira issue prefix (eg `PROJ-79`) on every git commit. Example: `PROJ-77: Create basic Drupal entity structure`.\nThere is a git hook to validate git commits.\n- We try to use git conventional commits. See https://www.conventionalcommits.org.\n  Add `fix, feat, docs, test, refactor` etc after the project Issue number. Example: `PROJ-85: feat, My new feature`\n- We create CHANGELOG.md file from branch merges using https://github.com/marcocesarato/php-conventional-changelog.\nWe automate this process with the command `composer release:patch`\n- All the database updates (hook_update_N), universal CSS/JS changes and global hooks should be done on module `custom/GLOBAL_CUSTOM_MODULE`.\n\n## Installation\n\n```shell\ngit clone git@github.com:theodorosploumis/drupal-experiments.git\ncd drupal-experiments\n\n# Requires: composer 2.x, PHP 8.0\ncomposer install\n\ncp .env.example .env\n# Change db settings on .env\nvim .env\n\n# Clean site install\n./vendor/bin/robo site:install\n\n# Login array set user 1\n./vendor/bin/drush uli\n```\n\nDDEV equivalent installation example:\n\n```shell\ngit clone git@github.com:theodorosploumis/drupal-experiments.git\ncd drupal-experiments\nddev start\nddev auth ssh\nddev robo site:install\nddev drush uli\n```\n\n## Testing\n\n- We use `phpunit`, `cypress` and `behat` for testing.\n- Run commands through Robo. See `robo:test-*` commands.\n- With ddev and Cypress tests you can also use the dedicated ddev commands:\n\n```shell\nddev cypress run --browser chrome --config-file tests/cypress.json\nddev cypress open --browser chrome --config-file tests/cypress.json\n```\n\n## Important notes\n\n- Requires: Composer 2.x, php 8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheodorosploumis%2Fdrupal-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheodorosploumis%2Fdrupal-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheodorosploumis%2Fdrupal-experiments/lists"}