{"id":16358289,"url":"https://github.com/chi-teck/drupalrc","last_synced_at":"2025-10-12T00:05:57.161Z","repository":{"id":66223970,"uuid":"87919999","full_name":"Chi-teck/drupalrc","owner":"Chi-teck","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-22T14:23:23.000Z","size":230,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-12T00:03:20.317Z","etag":null,"topics":["drupal"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Chi-teck.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-04-11T10:14:45.000Z","updated_at":"2024-04-22T16:51:46.000Z","dependencies_parsed_at":"2024-04-15T16:31:17.345Z","dependency_job_id":"0cb186d4-761f-4fab-a585-57b8d84e2d64","html_url":"https://github.com/Chi-teck/drupalrc","commit_stats":{"total_commits":69,"total_committers":2,"mean_commits":34.5,"dds":"0.14492753623188404","last_synced_commit":"235b503c1a06365d166caff3d116117f6bc2c18d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chi-teck/drupalrc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chi-teck%2Fdrupalrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chi-teck%2Fdrupalrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chi-teck%2Fdrupalrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chi-teck%2Fdrupalrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chi-teck","download_url":"https://codeload.github.com/Chi-teck/drupalrc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chi-teck%2Fdrupalrc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009475,"owners_count":26084609,"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-10-11T02:00:06.511Z","response_time":55,"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":["drupal"],"created_at":"2024-10-11T02:05:16.025Z","updated_at":"2025-10-12T00:05:57.126Z","avatar_url":"https://github.com/Chi-teck.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal RC\n\nUseful Bash functions for Drupal development.\n\n## Installation\n\n```bash\n# Local installation.\nurl=https://raw.githubusercontent.com/Chi-teck/drupalrc/master \u0026\u0026\nwget -O $HOME/.drupalrc $url/drupalrc \u0026\u0026\necho source $HOME/.drupalrc \u003e\u003e $HOME/.bashrc \u0026\u0026\nwget -O $HOME/.drupal.complete.sh $url/drupal.complete.sh \u0026\u0026\necho source $HOME/.drupal.complete.sh \u003e\u003e $HOME/.bash_completion\n```\n\n```bash\n# System-wide installation (run as super user).\nurl=https://raw.githubusercontent.com/Chi-teck/drupalrc/master \u0026\u0026\nwget -O /etc/drupalrc $url/drupalrc \u0026\u0026\necho source /etc/drupalrc \u003e\u003e /etc/bash.bashrc \u0026\u0026\nwget -O /etc/bash_completion.d/drupal.complete.sh $url/drupal.complete.sh\n```\n\nLog out and log in again for the changes to take effect.\n\n## Functions\n\n### droot\nPrint absolute path to Drupal root directory.\n\n### dcd\nQuick navigation between Drupal directories.\n```bash\ndcd views # core/modules/views\ndcd files # sites/default/files\ndcd contrib # modules/contrib\ndcd themes # themes\ndcd # Drupal root directory\n```\n\n## dl\nDownloads Drupal projects using Composer.\n```bash\ndl admin_toolbar token feeds\n```\n\n## dcr\nRebuilds Drupal caches using `drush cr`.\n\n## dconf\nOpens specified configuration file in default editor.\n```bash\ndconf # settings.php\ndconf settings.local.php # settings.local.php\ndconf services.yml # services.yml\n```\n\n## dbin\nExecutes scripts from _vendor/bin_ directory.\n```bash\ndbin phpcbf --help\n```\n\n## drush\nLauncher for Drush.\n\n## drupalcs\nChecks the code against Drupal coding standards using PHP code sniffer.\n```bash\ndrupalcs modules/custom/foo\n```\n\n## d-phpcbf (d-cbf)\n\nAutomatically tries to fix PHPCS issues using PHPCBF tool.\n\n```bash\nd-phpcbf modules/custom/foo\n```\n\n## dunit\nLauncher for PHPUnit.\n```bash\ndunit tests/src/Functional/SomeTest.php\n```\n\n## d-phpstan (d-stan)\n\nRuns PHPStan analyze.\n\n```bash\nd-phpstan .\n```\n\n\u003e [!NOTE]\n\u003e If the local `phpstan.neon` file is not found, a contrib version of the file \n\u003e from Drupal CI will be downloaded to a temporary directory.\n\n## License\nGNU General Public License, version 2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchi-teck%2Fdrupalrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchi-teck%2Fdrupalrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchi-teck%2Fdrupalrc/lists"}