{"id":17306847,"url":"https://github.com/xtrime-ru/php-extensions-toggle","last_synced_at":"2025-04-14T13:35:25.179Z","repository":{"id":57085157,"uuid":"260681279","full_name":"xtrime-ru/php-extensions-toggle","owner":"xtrime-ru","description":"Toggle php extensions from command line","archived":false,"fork":false,"pushed_at":"2021-12-10T19:00:55.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T19:17:48.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xtrime-ru.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}},"created_at":"2020-05-02T12:21:37.000Z","updated_at":"2023-08-01T08:58:07.000Z","dependencies_parsed_at":"2022-08-25T00:50:23.967Z","dependency_job_id":null,"html_url":"https://github.com/xtrime-ru/php-extensions-toggle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrime-ru%2Fphp-extensions-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrime-ru%2Fphp-extensions-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrime-ru%2Fphp-extensions-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtrime-ru%2Fphp-extensions-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtrime-ru","download_url":"https://codeload.github.com/xtrime-ru/php-extensions-toggle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248889136,"owners_count":21178170,"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-15T11:59:41.751Z","updated_at":"2025-04-14T13:35:25.146Z","avatar_url":"https://github.com/xtrime-ru.png","language":"Shell","readme":"# PHP Extension Toggle\nToggle php extensions from command line\n\n## How it works?\n - Search for all .ini files in php directory\n - Find line where specified extension loaded \n - Add or remove `;` at the beginning of the line\n - Try restart `fpm`, `apache` and `brew php`\n\n## Requirements \n- Linux or MacOs\n- Brew to restart php on mac os\n- `service` command to restart php-fpm or apache on linux\n\n## Install\n```\ncomposer create-project xtrime-ru/php-extensions-toggle \u0026\u0026 rm -rf php-extensions-toggle/\n```\n\n## Remove\n```rm /usr/local/bin/php-extension```\n\n## Usage\n```\nphp-extensions xdebug on\nphp-extensions xdebug off\nphp-extensions apcu on\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtrime-ru%2Fphp-extensions-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtrime-ru%2Fphp-extensions-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtrime-ru%2Fphp-extensions-toggle/lists"}