{"id":15637871,"url":"https://github.com/pronskiy/phpup","last_synced_at":"2025-04-24T00:22:47.533Z","repository":{"id":234811858,"uuid":"789547922","full_name":"pronskiy/phpup","owner":"pronskiy","description":"The PHP toolchain: run Composer, PHPStan, Rector, or any PHP script without having PHP installed.","archived":false,"fork":false,"pushed_at":"2024-09-26T12:12:31.000Z","size":35,"stargazers_count":105,"open_issues_count":1,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-30T05:06:20.873Z","etag":null,"topics":["php"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pronskiy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-20T21:25:00.000Z","updated_at":"2025-03-10T07:28:04.000Z","dependencies_parsed_at":"2024-05-05T18:26:18.044Z","dependency_job_id":"3508234b-f2e0-497d-9bfa-de7c44e021de","html_url":"https://github.com/pronskiy/phpup","commit_stats":null,"previous_names":["pronskiy/phpup"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronskiy%2Fphpup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronskiy%2Fphpup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronskiy%2Fphpup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronskiy%2Fphpup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pronskiy","download_url":"https://codeload.github.com/pronskiy/phpup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250536242,"owners_count":21446699,"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":["php"],"created_at":"2024-10-03T11:13:57.225Z","updated_at":"2025-04-24T00:22:47.487Z","avatar_url":"https://github.com/pronskiy.png","language":"Shell","readme":"\u003ch1 align=\"center\"\u003e\n    \u003ccode lang=\"html\"\u003ephpup\u003c/code\u003e\u003cbr\u003eThe PHP Toolchain\n\u003c/h1\u003e\n\n_Phpup_ is a single-file binary with _**zero dependencies**_ that includes Composer and other PHP tools. It also allows installing a per-project PHP based on your `composer.json`.\n\nYou don't need to have PHP or anything at all on your system to run it.\n\n\u003e [!WARNING]\n\u003e **Under heavy development**  \n\u003e Currently, this is an MVP, and only macOS aarch64 is supported.\n\n## Installation\n\nDownload `phpup` binary from the release page and put it into a directory on your PATH, so you can simply call `phpup` from any directory.\n\n```bash\ncurl -OL https://github.com/pronskiy/phpup/releases/latest/download/phpup\nchmod +x phpup\nsudo mv phpup /usr/local/bin/phpup\n```\n\n## Usage\n\n- `phpup list` – See the list of available commands.\n- `phpup \u003cfile\u003e` – Run any php file. 🚧\n- `phpup composer` – Composer that does not require PHP to be installed.\n- `phpup conductor \u003ccommand\u003e` – Like npx but for PHP. 🚧\n- `phpup locus` – Installs PHP binary under your project's `vendor/bin/php` based on the requirements in _composer.json_.\n\n- ~~`phpup phpstan` – PHPStan that does not require PHP. 🚧~~\n- ~~`phpup rector` – Rector that does not require PHP. 🚧~~\n\n## Contributing\n\nContributions are very welcome! However, it's recommended to first create an issue describing the idea — let's find the best approach together.\n\nSee some ideas in the todo list below.\n\n### Build Requirements\n\nBefore you begin, ensure you have met the following requirements:\n\n- [Make](https://www.gnu.org/software/make/) (version 3.0 or later)\n- [Box](https://github.com/box-project/box) (version 4.x)\n\nBuilding Binary\n\n```shell\nmake build\n```\n\n### TODO\n\n- [x] Run php script [https://github.com/pronskiy/phpup/issues/1](https://github.com/pronskiy/phpup/issues/1)\n\n- [ ] Accept a reference to a packagist/gh repo, to be able to run its scripts/bin/\n  - [https://twitter.com/AdrienBrault/status/1782476060426179049](https://twitter.com/AdrienBrault/status/1782476060426179049)\n  - [https://twitter.com/pronskiy/status/1768219585151402251](https://twitter.com/pronskiy/status/1768219585151402251)\n  - [https://github.com/artisan-build/conductor](https://github.com/artisan-build/conductor)\n  - [https://github.com/pronskiy/conductor](https://github.com/pronskiy/conductor)\n  - [https://github.com/artisan-build/conductor/issues/8](https://github.com/artisan-build/conductor/issues/8)\n\n- [ ] Support Windows\n- [ ] Support Linux\n\n- [ ] Make symfony/console app\n- [ ] Add help command\n\n- [ ] Extract packing with box and micro php to a stand-alone GitHub action\n- [ ] Reduce size of the resulting binary\n- [ ] Check microphp's [patches](https://github.com/easysoft/phpmicro/blob/master/patches/Readme.md):\n  - [ ] Bypass cli SAPI name checks\n  - [ ] static_opcache\n\n- ~~[ ] Add more tools~~\n  - ~~[ ] PHP-CS-Fixer~~\n  - ~~[ ] PHPUnit~~\n- ~~[ ] Support Rector 🚧~~\n- ~~[ ] Support PHPStan 🚧~~\n\n## Credits\n\nThis package entirely relies on [https://github.com/static-php](https://github.com/static-php) and [https://github.com/easysoft/phpmicro](https://github.com/easysoft/phpmicro).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronskiy%2Fphpup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpronskiy%2Fphpup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronskiy%2Fphpup/lists"}