{"id":16356298,"url":"https://github.com/zaporylie/drush-maintenance-mode","last_synced_at":"2025-12-09T01:30:12.693Z","repository":{"id":57089352,"uuid":"316704594","full_name":"zaporylie/drush-maintenance-mode","owner":"zaporylie","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-30T11:30:07.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"1.x","last_synced_at":"2025-02-12T08:18:34.710Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaporylie.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}},"created_at":"2020-11-28T10:04:06.000Z","updated_at":"2020-11-30T11:30:09.000Z","dependencies_parsed_at":"2022-08-20T16:00:30.090Z","dependency_job_id":null,"html_url":"https://github.com/zaporylie/drush-maintenance-mode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fdrush-maintenance-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fdrush-maintenance-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fdrush-maintenance-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fdrush-maintenance-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaporylie","download_url":"https://codeload.github.com/zaporylie/drush-maintenance-mode/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239670571,"owners_count":19677865,"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":[],"created_at":"2024-10-11T01:43:12.414Z","updated_at":"2025-12-09T01:30:12.660Z","avatar_url":"https://github.com/zaporylie.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Drush Maintenance Mode\n====\n\nRestricts list of drush commands that are allowed to be run when the site is in maintenance mode.\n\n# Installation\n\n```bash\ncomposer require zaporylie/drush-maintenance-mode\n```\n\n# Configuration\n\nCreate a file `.drush-maintenance-mode.yml` in project's root directory (composer root). List all commands (by command\nname) under `commands.allowed` property. Command names should be used as keys.\n\nExample:\n```yaml\ncommands:\n  allowed:\n    // Preview site state.\n    'core:status':\n    // Clear cache.\n    'cache:clear':\n    // Take the site out of maintenance mode using drush.\n    'state:set':\n    // Update database.\n    'updatedb':\n    'updatedb:status':\n    // Export configuration split.\n    'config-split:export':\n    // Import configuration.\n    'config-split:import':\n    'config:import':\n    // Import translations.\n    'locale:update':\n    // Used internally by bunch of commands above.\n    'batch:process':\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaporylie%2Fdrush-maintenance-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaporylie%2Fdrush-maintenance-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaporylie%2Fdrush-maintenance-mode/lists"}