{"id":25166263,"url":"https://github.com/deligoez/xdebug-toggler","last_synced_at":"2025-10-17T07:35:31.120Z","repository":{"id":98691072,"uuid":"272289949","full_name":"deligoez/xDebug-Toggler","owner":"deligoez","description":"xDebugToggler is a simple macOS menubar app that easily toggles xDebug to run or test your PHP code faster","archived":false,"fork":false,"pushed_at":"2023-01-20T22:00:29.000Z","size":5668,"stargazers_count":116,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-14T03:39:16.032Z","etag":null,"topics":["macos","menubar-app","php","xdebug-toggler"],"latest_commit_sha":null,"homepage":"https://laravel-news.com/xdebug-toggler-for-macos","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deligoez.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-14T21:57:32.000Z","updated_at":"2024-10-11T18:24:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7716b569-e5d8-4675-8d6f-05f857897410","html_url":"https://github.com/deligoez/xDebug-Toggler","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/deligoez/xDebug-Toggler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deligoez%2FxDebug-Toggler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deligoez%2FxDebug-Toggler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deligoez%2FxDebug-Toggler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deligoez%2FxDebug-Toggler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deligoez","download_url":"https://codeload.github.com/deligoez/xDebug-Toggler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deligoez%2FxDebug-Toggler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265427937,"owners_count":23763441,"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":["macos","menubar-app","php","xdebug-toggler"],"created_at":"2025-02-09T05:48:41.705Z","updated_at":"2025-10-17T07:35:26.093Z","avatar_url":"https://github.com/deligoez.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![Logo](xDebugToggler/Assets.xcassets/light.imageset/64.png)](https://github.com/deligoez/xDebug-Toggler)\n\n### xDebug-Toggler\n\n![Screenshoot](.github/screenshots/xdebugtoggler.png)\n\n\u003c/div\u003e\n\n[Xdebug](https://xdebug.org) is a must-have extension for PHP, although sometimes you need to toggle it to make things faster.\n\nxDebugToggler.app for macOS allows you simply toggle xDebug `on` and `off`.\n\nYou can also restart the system some services while toggling like `PHP`, `Nginx`, `MySQL` that you can choose on the application settings.\n\nIf you just work on `CLI` scripts like `testing`, you shouldn't need to restart any system service.\n\n## 🚀 Installation\n\n- Using [Homebrew Cask](https://caskroom.github.io/):\n  - ```shell\n    brew tap deligoez/cask\n    brew install --cask xdebug-toggler\n    ```\n\n- Manual:\n  - Download the [latest dmg](https://github.com/deligoez/xDebug-Toggler/releases/latest), open, and drag the app to the Applications folder.\n\n## 🙌 Usage\n\nYou should have an `ext-xdebug.ini` file on your local `PHP` config path like `/usr/local/etc/php/7.4/conf.d/ext-xdebug.ini`\n\nIf you defined your xDebug extension directly on the `php.ini` file, you should remove this line and add an `ext-debug.ini` file on the `conf.d` folder.\n\nAn example `ext-xdebug.ini` file can look like that:\n\n```ini\n[xdebug]\nzend_extension=\"/usr/local/opt/php/pecl/20190902/xdebug.so\"\n```\n\nYou can also set extra options for your choosen IDE like so:\n\n```ini\n[xdebug]\nzend_extension=\"/usr/local/opt/php/pecl/20190902/xdebug.so\"\nxdebug.remote_autostart=1\nxdebug.default_enable=1\nxdebug.remote_port=9000\nxdebug.remote_host=127.0.0.1\nxdebug.remote_connect_back=1\nxdebug.remote_enable=1\nxdebug.idekey=PHPSTORM\nxdebug.file_link_format=phpstorm://open?%f:%l\n```\n\n## ⚙️ Settings\n\nRight-click the app's icon on the status bar and choose `Settings...`\n\n\u003cdiv align=\"center\"\u003e\n\n![Screenshoot](.github/screenshots/settings.png)\n\n\u003c/div\u003e\n\n## ❓How it works\n\nxDebugToggler simply renames the `ext-xdebug.ini` file to `ext-xdebug.ini.disabled`\n\nWhile restarting services xDebugToggler app uses `brew restart service` command in the background.\n\n## 🕵🏻‍♂️ Troubleshooting\n\nAfter the first start, you may need to allow the app to open from `Security \u0026 Privacy` preferences.\n\n\u003cdiv align=\"center\"\u003e\n\n![Allow](.github/screenshots/security.png)\n\nIf you see a warning that the app can't be opened because Apple cannot check it for malicious software. You can do the following:\n\n![Can't open](.github/screenshots/cannotopen.png)\n\n- Locate the app on your `/Applications` folder and right click on it.\n\n![Right Click](.github/screenshots/rightclick.png)\n\n- Click the `Open` while pressing the `Option/Alt` Key on the keyboard.\n\n![Open](.github/screenshots/open.png)\n\n- After that, you will be able to see and click the `Open` button.\n\n\n\n\u003c/div\u003e\n\n## 📄 Requirements\n\nmacOS 10.14+\n\n## 📖 Changelog\n\nPlease see [CHANGELOG.md](CHANGELOG.md) for more information on what has changed recently.\n\n## 🤝 Contributing\n\nPlease see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## 🔒  Security and Vulnerability Reporting\n\nFor full information and description of our security policy please visit [SECURITY.md](SECURITY.md)\n\n## 🎉 Credits\n\n- [Yunus Emre Deligöz](https://github.com/deligoez)\n- [All Contributors](../../contributors)\n\n## 📄 License\n\nThe MIT License (MIT). Please see [LICENSE.md](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeligoez%2Fxdebug-toggler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeligoez%2Fxdebug-toggler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeligoez%2Fxdebug-toggler/lists"}