{"id":16768698,"url":"https://github.com/jackd248/ddev-commands-collection","last_synced_at":"2025-03-21T23:33:54.911Z","repository":{"id":57007621,"uuid":"459050123","full_name":"jackd248/ddev-commands-collection","owner":"jackd248","description":"Collection of reusable DDEV commands","archived":false,"fork":false,"pushed_at":"2024-08-08T14:09:48.000Z","size":89,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-18T06:11:27.836Z","etag":null,"topics":["command","composer","ddev","drupal","symfony","typo3"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackd248.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-02-14T06:59:45.000Z","updated_at":"2025-02-23T12:39:58.000Z","dependencies_parsed_at":"2023-01-25T00:45:47.818Z","dependency_job_id":"913b3555-6a3a-49a7-a4ea-86c56fb42e56","html_url":"https://github.com/jackd248/ddev-commands-collection","commit_stats":{"total_commits":73,"total_committers":4,"mean_commits":18.25,"dds":0.3013698630136986,"last_synced_commit":"7db9350272544142df73d237c28224c734e4e9ca"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackd248%2Fddev-commands-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackd248%2Fddev-commands-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackd248%2Fddev-commands-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackd248%2Fddev-commands-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackd248","download_url":"https://codeload.github.com/jackd248/ddev-commands-collection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885397,"owners_count":20526287,"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":["command","composer","ddev","drupal","symfony","typo3"],"created_at":"2024-10-13T06:12:17.272Z","updated_at":"2025-03-21T23:33:54.632Z","avatar_url":"https://github.com/jackd248.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"DDEV Commands Collection\n========================\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./doc/Images/dcc.svg\" alt=\"DCC\" width=\"150\"\u003e\n\u003c/p\u003e\n\nThe __DCC__ (DDEV Commands Collection) provides several predefined [DDEV](https://ddev.readthedocs.io/en/stable/) commands for different project types.\n\n- [Intention](#intention)\n- [Installation](#installation)\n- [Impact](#impact)\n\nThe project comes with an automatic copy and update process of the commands as well as several customization options. So the DDEV commands in your local project under `.ddev/commands` will always keep updated extended commands.\n\nFor more usage information see the additional [README.md](src/CommandsCollection/general/static/README.md).\n\n\n\u003ca name=\"intention\"\u003e\u003c/a\u003e\n## Intention\n\nThe main goals for the DCC are:\n\n- reusable commands in several projects\n- reusable functionalities within the commands\n- standardization of commands in usage and style\n- simplification and transparency of command execution\n- customisation of the automated DCC process\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n## Installation\n\nDefine one of the following project type within your `composer.json`:\n- [TYPO3](src/CommandsCollection/typo3)\n- [Symfony](src/CommandsCollection/symfony)\n- [Drupal](src/CommandsCollection/drupal)\n\n```json\n\"config\": {\n  \"dcc-type\": \"Symfony\"\n}\n```\n\nAdd the post scripts in the composer.json:\n\n```json\n\"scripts\": {\n    \"post-install-cmd\": [\n      \"Kmi\\\\DdevCommandsCollection\\\\Composer\\\\Scripts::updateCommands\"\n    ],\n    \"post-update-cmd\": [\n      \"Kmi\\\\DdevCommandsCollection\\\\Composer\\\\Scripts::updateCommands\"\n    ]\n}\n```\n\nInstall from [packagist](https://packagist.org/packages/kmi/ddev-commands-collection) via composer:\n\n```bash\n$ composer req kmi/ddev-commands-collection\n```\n\nAdd the following files to your local project git:\n\n```bash\n.ddev/\n  commands/\n    .gitignore\n    dcc-config.sh\n```\n\n__Note__: If your project structure differs from the example below and your `composer.json` and the ddev directory aren't on the same level, you can define the relative path to the ddev directory inside your `composer.json` like the following example:\n```json\n\"config\": {\n  \"ddev-dir\": \"./../.ddev\"\n}\n```\n\n\n\u003ca name=\"impact\"\u003e\u003c/a\u003e\n## Impact\n\nThe automatic DCC process affects the following files/directories (marked as **bold**) inside your project (example structure for a project):\n\n\n- `project/`\n  - `.ddev/`\n    - `commands/`\n      - `web`\n        - **dcc-cc**\n        - **dcc-composer-app**\n        - **dcc-composer-deployment**\n        - **dcc-console**\n        - **dcc-init**\n        - **dcc-release**\n        - **dcc-sync**\n        - **dcc-theme**\n        - `...`\n      - **faq**/\n        - **dcc-faq-web-sync.sh**\n        - `...`\n      - **scripts**/\n        - **dcc-colors.sh**\n        - `...`\n      - **.gitignore**\n      - **dcc-config.yaml**\n      - **dcc-config.sh**\n      - **README.md**\n      - `...`\n    - `config.yaml`\n    - `...`\n  - `app/` -- *Application directory*\n    - `composer.json`\n    - `composer.lock`\n    - `...`\n  - `composer.json` -- *Adapted composer file for DCC*\n  - `composer.lock`\n  - `...`\n           \nSee the additional [README.md](src/CommandsCollection/general/static/README.md) for information about adjustments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackd248%2Fddev-commands-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackd248%2Fddev-commands-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackd248%2Fddev-commands-collection/lists"}