{"id":15769690,"url":"https://github.com/drupalwxt/wxt-project","last_synced_at":"2025-06-10T15:36:21.921Z","repository":{"id":37470709,"uuid":"73754441","full_name":"drupalwxt/wxt-project","owner":"drupalwxt","description":"Composer project template for Drupal 9 sites built with the WxT distribution.","archived":false,"fork":false,"pushed_at":"2025-05-19T16:08:13.000Z","size":76,"stargazers_count":9,"open_issues_count":2,"forks_count":8,"subscribers_count":18,"default_branch":"10.4.x","last_synced_at":"2025-05-19T16:57:16.316Z","etag":null,"topics":["composer-project","drupal"],"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/drupalwxt.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,"zenodo":null}},"created_at":"2016-11-14T22:57:31.000Z","updated_at":"2025-05-19T16:08:17.000Z","dependencies_parsed_at":"2024-04-15T03:24:09.641Z","dependency_job_id":"3ae0a1d8-90cc-440c-b514-626ed45baeb1","html_url":"https://github.com/drupalwxt/wxt-project","commit_stats":{"total_commits":105,"total_committers":9,"mean_commits":"11.666666666666666","dds":"0.34285714285714286","last_synced_commit":"d9fbc0d3e8069dd7452eb4b9620b298db42e6ff9"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fwxt-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fwxt-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fwxt-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fwxt-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drupalwxt","download_url":"https://codeload.github.com/drupalwxt/wxt-project/tar.gz/refs/heads/10.4.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fwxt-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259103278,"owners_count":22805660,"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","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":["composer-project","drupal"],"created_at":"2024-10-04T14:04:15.698Z","updated_at":"2025-06-10T15:36:21.913Z","avatar_url":"https://github.com/drupalwxt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer Project template for Drupal\n\n[![Build Status][githubci-badge]][githubci]\n\nAn **[composer][composer]** project template generator for the **[Drupal WxT][wxt]** distribution.\n\n\u003e **Note**: Please consult the **[README.md][readme]** file in the **Drupal WxT** repository for up-to-date information.\n\n## Requirements\n\n- **[Composer][composer]**\n- **[Node][node]**\n\n## Dependencies\n\nThe `composer.json` file calls the following dependencies:\n\n- **[WxT][wxt]**\n\nThe **[Drupal WxT][wxt]** distribution is a web content management system which assists in building and maintaining innovative Web sites that are accessible, usable, and interoperable.\n\nThis distribution is open source software and free for use by departments and external Web communities. This distribution integrates extensively with the WET-BOEW jQuery Framework for improved accessible markup.\n\n## Get Started\n\nThe following command is all you need to get started:\n\n```sh\ncomposer create-project drupalwxt/wxt-project:5.4.2 \u003csite-name\u003e\n```\n\n\u003e **Note**: For development you may also specify a branch using `drupalwxt/wxt-project:5.4.x-dev`.\n\nYou can see a working example of a fully generated Composer Project Template over at:\n\n- **[Site WxT][site-wxt]**\n\nWhere the following is the command that was used for the initial generation:\n\n```sh\ncomposer create-project drupalwxt/wxt-project:5.4.2 site-wxt\n```\n\n\u003e **Note**: Remember to keep the `composer.json` and `composer.lock` files that exist above `docroot` in source control as they are controlling your dependencies.\n\n## Maintenance\n\nList of common commands are as follows:\n\n| Task                                            | Composer                                      |\n| ----------------------------------------------- | --------------------------------------------- |\n| Installing a contrib project (latest version)   | `composer require drupal/PROJECT`             |\n| Installing a contrib project (specific version) | `composer require drupal/PROJECT:1.0.0-beta5` |\n| Updating all projects including Drupal Core     | `composer update`                             |\n| Updating a single contrib project               | `composer update drupal/PROJECT_NAME`         |\n| Updating Drupal Core                            | `composer update drupal/core`                 |\n\n\u003e **Note**: Composer is a **dependency manager** and helps us keep track of what code and at what version our application relies on so that it always get installed the right way on every copy of that application.\n\n### Specifying a version\n\nA specific version can be specified from the cli:\n\n```sh\ncomposer require drupal/\u003cmodulename\u003e:\u003cversion\u003e\n```\n\nHowever please note if you specify a branch, such as 1.x you must add `-dev` to the end of the version:\n\n```sh\ncomposer require drupal/token:1.x-dev\n```\n\n### Source Control\n\nTaking a look at the `.gitignore` file, you will discover that certain directories, including all those directories containing contributed projects, are excluded from source control which is by design.\n\n\u003e **Note**: Unlike **[Drush][drush]** in a Composer derived project you should **never commit your install dependencies to source control**.\n\nComposer will create `composer.lock` file, which is a list of dependencies that were installed, and in which versions.\n\n\u003e **Note**: In general you should always **commit your `composer.lock` file to source control** so that others via a quick `composer install` can have everything installed along with the correct versions specified in the `composer.lock` file.\n\n### How to update Drupal Core?\n\nPlease **don't add `drupal/core` to your project's composer.json** since WxT manages Drupal Core for you along with the series of patches on top of it.\n\nWxT's minor versions will always correspond to Drupal Core's. For example, `drupalwxt/wxt:~4.2.0` will require Drupal Core 9.2.x and `drupalwxt/wxt:~4.1.0` will require Drupal Core 9.1.x.\n\nWhen you need to update Drupal Core as an example from 9.1.x to 9.2.x, all you would do is change your requirement for `drupalwxt/wxt` in your `composer.json` file:\n\n```\ncomposer require --no-update drupalwxt/wxt:~4.2.0\ncomposer update\n```\n\n### Compatibility table\n\n| `drupalwxt/wxt` version | Drupal Core version | Drush version |\n| ----------------------- | ------------------- | ------------- |\n| `~4.2.0`                | 9.2.x               | `\u003e=9.7`       |\n| `~4.1.0`                | 9.1.x               | `\u003e=9.7`       |\n| `~4.0.0`                | 8.8.x+              | `\u003e=9.7`       |\n\n## Acknowledgements\n\nExtended with code and lessons learned by the **[Acquia Team][acquia]** over at **[Lightning][lightning]** and **[BLT][blt]**.\n\n\u003c!-- Links Referenced --\u003e\n\n[acquia]:          https://acquia.com\n[blt]:             https://github.com/acquia/blt\n[composer]:        https://getcomposer.org\n[docker-scaffold]: https://github.com/drupalwxt/docker-scaffold.git\n[drush]:           https://www.drush.org/latest/\n[githubci]:        https://github.com/drupalwxt/site-wxt/actions\n[githubci-badge]:  https://github.com/drupalwxt/site-wxt/workflows/build/badge.svg\n[lightning]:       https://github.com/acquia/lightning\n[node]:            https://nodejs.org\n[site-wxt]:        https://github.com/drupalwxt/site-wxt\n[readme]:          https://github.com/drupalwxt/wxt/blob/4.2.x/README.md\n[wxt]:             https://github.com/drupalwxt/wxt\n[wxt-project]:     https://github.com/drupalwxt/wxt-project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupalwxt%2Fwxt-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrupalwxt%2Fwxt-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupalwxt%2Fwxt-project/lists"}