{"id":21016483,"url":"https://github.com/gsa/digital-gov-drupal","last_synced_at":"2026-06-08T23:01:24.527Z","repository":{"id":250353000,"uuid":"834223224","full_name":"GSA/digital-gov-drupal","owner":"GSA","description":"Digital.gov: Better websites. Better government.","archived":false,"fork":false,"pushed_at":"2026-06-04T20:32:26.000Z","size":25626,"stargazers_count":15,"open_issues_count":4,"forks_count":11,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2026-06-04T21:14:41.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GSA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-26T17:34:06.000Z","updated_at":"2026-06-04T20:32:31.000Z","dependencies_parsed_at":"2025-05-02T20:18:44.562Z","dependency_job_id":"0ea6b3a4-97ce-40f2-ad69-8e2f742ba2c6","html_url":"https://github.com/GSA/digital-gov-drupal","commit_stats":null,"previous_names":["gsa/digital-gov-drupal"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/GSA/digital-gov-drupal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSA%2Fdigital-gov-drupal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSA%2Fdigital-gov-drupal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSA%2Fdigital-gov-drupal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSA%2Fdigital-gov-drupal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GSA","download_url":"https://codeload.github.com/GSA/digital-gov-drupal/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSA%2Fdigital-gov-drupal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34083848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-19T10:13:28.645Z","updated_at":"2026-06-08T23:01:24.470Z","avatar_url":"https://github.com/GSA.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital.gov (Drupal)\n\nWelcome to the Digital.gov Drupal site.\n\nSee our [CONTRIBUTING.md](CONTRIBUTING.md) for Git configuration and working with validation.\n\n### Contents\n\n- [Software requirements](#software-requirements)\n- [QuickStart installation](#quickstart-installation)\n- [Working with the codebase](#working-with-the-codebase)\n- [Basic command reference](#basic-command-reference)\n- [Additional developer documentation](#additional-developer-documentation)\n\n## Software requirements\n\n* PHP 8.3: Used to run `./robo.sh` / `./composer.sh` tasks\n* Composer Version 2: https://getcomposer.org/, much faster to run composer locally than through docker\n* Lando: https://lando.dev/download/\n\nSee our [Install Help documentation](docs/install-help.md) for a guide to installing the PHP and Composer\nrequirements locally.\n\n## QuickStart installation\n\nThe local environment is configured to use\nthe [Lando Drupal Plugin](https://docs.lando.dev/plugins/drupal/getting-started.html). However, you cannot\njust `lando start` the first time you start the site.\n\nOnce you have confirmed that you have PHP 8.3 and Composer 2 installed locally run the following CLI commands to get your\nsite running locally.\n\n```\ncomposer install\n./robo.sh lando:init\n# Installing a Drupal site from config (no DB needed).\nlando si\n```\n\nFollowing that, you can interact with the environment like a normal Lando site using standard `lando` commands.\n\n## Working with the codebase\n\nThere is some custom functionality apart from what's in the base Lando installation.\n\n* See a list of shortcuts (Drush, Composer, etc.): `./robo.sh common:shortcuts-help`\n* When switching to a new branch, always: `lando rebuild -y \u0026\u0026 lando si` to start off completely fresh.\n* Export content as configuration `./robo.sh drupal-project:export-content`.\n  See [Exporting Content as Configuration](docs/backend#exporting-content-as-configuration).\n\n## Compiling theme assets\n\nSee our [Frontend documentation](docs/frontend.md) for working with the `digital_gov` custom theme.\n\n## Basic command reference\n\n### Composer commands\nInstead of using `lando composer` we use `./composer.sh` which generate entries in `composer.log` so we can replay composer commands on conflicts.\n\n| **Command**                                  | **Use case**                  |\n|----------------------------------------------|-------------------------------|\n| `./composer.sh require drupal/\u003cMODULE_NAME\u003e` | Download a drupal module      |\n| `./composer.sh remove drupal/\u003cMODULE_NAME\u003e`  | Remove a drupal module        |\n| `./composer.sh update --lock`                | Regenerate composer lock hash |\n\n### Drush commands\n\n| **Command**       | **Use case**                 |\n|-------------------|------------------------------|\n| `lando drush cr`  | Clearing Drupal cache        |\n| `lando drush uli` | Log into Drupal as Superuser |\n| `lando drush cim` | Import Drupal configuration  |\n| `lando drush cex` | Export Drupal configuration  |\n\n### Lando commands\n\n| **Command**     | **Use case**                                         |\n|-----------------|------------------------------------------------------|\n| `lando start`   | Start the container                                  |\n| `lando stop`    | Stop the container                                   |\n| `lando rebuild` | Rebuild the container (retains your db)              |\n| `lando destroy` | Destroys container and your db (when all else fails) |\n\n### Custom Lando commands\n\n| **Command**            | **Use case**                                                                |\n|------------------------|-----------------------------------------------------------------------------|\n| `lando si`             | Install a fresh Drupal site from configuration                              |\n| `lando su`             | Run updates, import configuration, run cron, etc (Install if not installed) |\n| `lando xdebug-on`      | Enable Xdebug                                                               |\n| `lando xdebug-off`     | Disable Xdebug                                                              |\n| `lando patch`          | Apply composer patches or regenerate lock hash                              |\n| `lando be`             | Builds backend (composer) dependencies                                      |\n| `lando fe`             | Builds front end site (dependencies \u0026 compilation)                          |\n| `lando export-content` | Export content as configuration                                             |\n\nFor additional details of custom lando commands review the tooling settings within the [Lando base file](.lando.dist.yml).\n\n## Additional developer documentation\n\nPlease take a look at the `./docs` directory for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsa%2Fdigital-gov-drupal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsa%2Fdigital-gov-drupal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsa%2Fdigital-gov-drupal/lists"}