{"id":49528671,"url":"https://github.com/masan4444/phpup","last_synced_at":"2026-05-02T05:02:13.716Z","repository":{"id":38027366,"uuid":"446843238","full_name":"masan4444/phpup","owner":"masan4444","description":"Cross-Platform PHP version manager written in rust :crab:","archived":false,"fork":false,"pushed_at":"2022-11-05T07:02:13.000Z","size":19918,"stargazers_count":53,"open_issues_count":8,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-25T04:29:41.688Z","etag":null,"topics":["build-tool","php","php-version","php-versions","phpup","rust","version","version-manager"],"latest_commit_sha":null,"homepage":"https://phpup.vercel.app","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masan4444.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":"2022-01-11T13:57:30.000Z","updated_at":"2025-10-23T16:44:18.000Z","dependencies_parsed_at":"2022-08-25T08:02:31.786Z","dependency_job_id":null,"html_url":"https://github.com/masan4444/phpup","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/masan4444/phpup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masan4444%2Fphpup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masan4444%2Fphpup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masan4444%2Fphpup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masan4444%2Fphpup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masan4444","download_url":"https://codeload.github.com/masan4444/phpup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masan4444%2Fphpup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32523428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["build-tool","php","php-version","php-versions","phpup","rust","version","version-manager"],"created_at":"2026-05-02T05:02:12.670Z","updated_at":"2026-05-02T05:02:13.706Z","avatar_url":"https://github.com/masan4444.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP-UP - Cross-Platform PHP version manager\n\n:zap: PHP version manager written in rust\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/wiki/masan4444/phpup/blob/phpup.gif\" alt=\"Blazing fast!\"\u003e\n\u003c/div\u003e\n\n## Features\n\n- No requirements for system PHP installation\n- Cross-platform support (Linux, macOS, Windows[WIP])\n- Automatically version switching via `.php-version`\n\n## Quick Start (Linux, macOS)\n\nFor `bash`, `zsh` and `fish` there's a [installation script](./.ci/install.sh)\n\n```sh\ncurl -fsSL https://phpup.vercel.app/install | bash\n```\n\n#### Upgrade\n\nTo prevent duplication in your shell config file, add `--skip-shell` option to install command.\n\n```sh\ncurl -fsSL https://phpup.vercel.app/install | bash -s -- --skip-shell\n```\n\n#### Uninstall\n\nTo remove PHP-UP, just delete the `.phpup` folder in your home directory.\nYou should also edit your shell configuration to remove any references to phpup.\n\n## Installation\n\n### Requirements\n\n- OS: Linux, macOS, Windows[WIP]\n- shell: `bash`, `zsh`, `fish` or `powershell`[WIP]\n- `curl`, `ps` and `make` installation\n\n### Installation\n\n#### using a release binary\n\n1. Download the [latest release binary](https://github.com/masan4444/phpup/releases) for your system\n2. Make it available globally on `PATH` environment variable\n\n#### using cargo\n\n```\ncargo install phpup\n```\n\n### Shell setup\n\n#### Bash, Zsh\n\nAdd the following to your `.bashrc` or `.zshrc`\n\n```sh\neval \"$(phpup init --auto --recursive)\"\n```\n#### Fish\n\nCreate `~/.config/fish/conf.d/phpup.fish` and add the following to it\n\n```fish\nphpup init --auto --recursive | source\n```\n\n- To automatically run `phpup use` when a directory contains a `.php-version` file, add the `--auto` (long: `--auto-switch`) option.\n- To search recursively for a `.php-version` file in a parent directory when running `phpup use` automatically, add the `--recursive` (long: `--recursive-version-file`) option.\n- For more options, run `phpup init --help`.\n\n## Usage\n\n### PHP Installation\n\n#### How to specify configure options\n\n##### using the command option: `--configure-opts`\n\n```sh\nPKG_CONFIG_PATH=\"$(brew --prefix libxml2)/lib/pkgconfig\" \\\nphpup install 8.1 \\\n  --configure-opts=\"--with-iconv=$(brew --prefix libiconv)\"\n```\n\n##### using the shell variable: `PHPUP_CONFIGURE_OPTS`\n\n```sh\nPKG_CONFIG_PATH=\"$(brew --prefix libxml2)/lib/pkgconfig\" \\\nPHPUP_CONFIGURE_OPTS=\"--with-iconv=$(brew --prefix libiconv)\" \\\nphpup install 8.1\n```\n\n##### using the env variable: `PHPUP_CONFIGURE_OPTS`\n\n```sh\nexport PKG_CONFIG_PATH=\"$(brew --prefix libxml2)/lib/pkgconfig\"\nexport PHPUP_CONFIGURE_OPTS=\"--with-iconv=$(brew --prefix libiconv)\"\nphpup install 8.1\n```\n\nSee [List of core configure options](https://www.php.net/manual/en/configure.about.php) for more configre options.\n\n### For more details\n\n```\nphpup help\n```\n\n## Contribution\n\nPRs Welcome :tada:\n\n- [TODO.md](TODO.md)\n\n## Inspired\n\n- [Schniz/fnm](https://github.com/Schniz/fnm)\n- [TaKO8Ki/frum](https://github.com/TaKO8Ki/frum)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasan4444%2Fphpup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasan4444%2Fphpup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasan4444%2Fphpup/lists"}