{"id":21069197,"url":"https://github.com/devfaysal/switch-php-version","last_synced_at":"2025-05-16T04:34:21.580Z","repository":{"id":101855676,"uuid":"480781415","full_name":"devfaysal/switch-php-version","owner":"devfaysal","description":"Switch PHP version in linux desktop","archived":false,"fork":false,"pushed_at":"2024-02-17T03:41:30.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T13:51:58.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/devfaysal.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}},"created_at":"2022-04-12T11:30:40.000Z","updated_at":"2024-02-15T04:56:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9f90d22-64da-46ef-ad47-95d1a0bff7ce","html_url":"https://github.com/devfaysal/switch-php-version","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devfaysal%2Fswitch-php-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devfaysal%2Fswitch-php-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devfaysal%2Fswitch-php-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devfaysal%2Fswitch-php-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devfaysal","download_url":"https://codeload.github.com/devfaysal/switch-php-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254470303,"owners_count":22076566,"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-11-19T18:33:10.886Z","updated_at":"2025-05-16T04:34:16.568Z","avatar_url":"https://github.com/devfaysal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Switch PHP Version\nIn development, some projects might require different PHP versions.\n\nSwitching the PHP CLI and PHP versions for web service requires several commands.\nThis script will run all the commands so that you do not need to run one by one.\nPHP versions need to be installed before using this.\n\nThis repository can help you easily setup dev machine in Ubuntu: https://github.com/devfaysal/ubuntu-php-dev-setup\n\n**Currently support only Apache for web server in Ubuntu.**\n\n``` git clone https://github.com/devfaysal/switch-php-version.git ```\n\n``` cd switch-php-version ```\n\n``` mv switchPhpVersion.sh /usr/local/bin/switchphp  ```\n\nNote: you can name 'switchphp' or anything that you prefer.\n\nnow you can run ```switchphp``` command from anywhere, it will ask you which version you want to use.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevfaysal%2Fswitch-php-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevfaysal%2Fswitch-php-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevfaysal%2Fswitch-php-version/lists"}