{"id":13462143,"url":"https://github.com/phar-io/phive","last_synced_at":"2025-03-25T01:31:43.172Z","repository":{"id":28173211,"uuid":"31674534","full_name":"phar-io/phive","owner":"phar-io","description":"The Phar Installation and Verification Environment (PHIVE)","archived":false,"fork":false,"pushed_at":"2025-03-04T23:13:10.000Z","size":2828,"stargazers_count":598,"open_issues_count":64,"forks_count":46,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-05T00:20:43.233Z","etag":null,"topics":["phar","phar-installation","php","tools"],"latest_commit_sha":null,"homepage":"https://phar.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phar-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["theseer"]}},"created_at":"2015-03-04T19:05:07.000Z","updated_at":"2025-03-04T23:13:15.000Z","dependencies_parsed_at":"2023-02-15T10:31:12.927Z","dependency_job_id":"11f491ef-8bb4-4769-99f8-4b74edee52bd","html_url":"https://github.com/phar-io/phive","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phar-io%2Fphive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phar-io%2Fphive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phar-io%2Fphive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phar-io%2Fphive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phar-io","download_url":"https://codeload.github.com/phar-io/phive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245381845,"owners_count":20606101,"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":["phar","phar-installation","php","tools"],"created_at":"2024-07-31T12:00:39.985Z","updated_at":"2025-03-25T01:31:42.425Z","avatar_url":"https://github.com/phar-io.png","language":"PHP","funding_links":["https://github.com/sponsors/theseer"],"categories":["Uncategorized","PHP","Dev Tools"],"sub_categories":["Uncategorized","PHP Dev Tools","Libraries"],"readme":"## The Phar Installation and Verification Environment (PHIVE)\n\nInstallation and verification of [phar](http://php.net/phar) distributed PHP applications has never been this easy!\n\n[![Integrate](https://github.com/phar-io/phive/actions/workflows/integrate.yaml/badge.svg)](https://github.com/phar-io/phive/actions/workflows/integrate.yaml)\n\n\nAdding all the required tools like PHPUnit, PHPMD and phpDox in their matching versions to a project used to be a lot of\nrepetitive work: Started by finding the download URL, figuring out what the actually correct and matching version is\nfollowed by verifying the sha1 and gpg signatures and making the archive executable. And of course you'd have to repeat\nthis very thing for every tool needed.\n\nAlternatively, you could have used composer. And cluttered your project's dependencies with the ones of your\ntools. And fight their potential dependency conflicts.\n\nNo more! Now you can rely on PHIVE to install and manage your project's tooling needs without all the hassle and without\ncluttered dependencies!\n\n## Getting PHIVE\n\nInstallation of PHIVE is easy and about the last time you have to do anything phar related manually.\nGrab your copy of PHIVE from the [releases](https://github.com/phar-io/phive/releases) section at our GitHub page or\nfollow these simple steps:\n\n```bash\nwget -O phive.phar \"https://phar.io/releases/phive.phar\"\nwget -O phive.phar.asc \"https://phar.io/releases/phive.phar.asc\"\ngpg --keyserver hkps://keys.openpgp.org --recv-keys 0x6AF725270AB81E04D79442549D8A98B29B2D5D79\ngpg --verify phive.phar.asc phive.phar\nrm phive.phar.asc\nchmod +x phive.phar\nmv phive.phar /usr/local/bin/phive\n```\n\n## Homebrew\n\nIf you have Homebrew you can easily install it with:\n```bash\nbrew install phive\n```\n\n## Getting started\n\n`phive` expects a command to be specified to run. To get a list of available commands and their\nrespective options, you can can run `phive` either with `--help`, `help` or without any additional\nparameters. To give you a general idea on how to use it, have a look at the following sample usages.\n\n\n## Sample Usages\n\nOnce installed, PHIVE is ready for action. Some example invocations are shown below:\n\n    phive install phpunit\n    phive install --copy phpdox\n    phive install phpdox bin/phpdox\n    phive install https://phar.phpunit.de/phpunit-4.8.6.phar\n    phive install --temporary phpunit@~5.0\n\n    phive update\n    phive update --prefer-offline\n    phive update phpunit\n\n## How it works\n\nPHIVE makes installation easy by downloading the phar archive from the given location, including the verification of\nthe certificate supplied by the server. Once downloaded, the archive's SHA1/SHA256/SHA512 hash is verified and so its\nOpenPGP/GnuPG or OpenSSL signature.\n\nInstead of redownloading the same phar multiple times, the archive is kept at a shared location (by default in `~/.phive`)\nand only a symbolic link is created for the project. You can of course also explicitly request a copy of the phar to\nbe made in favor of symbolic links (use `--copy`).\n\n## Contributing\n\nPHIVE and phar.io are open source projects released under the BSD license. You are welcome to join the development\nteam!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphar-io%2Fphive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphar-io%2Fphive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphar-io%2Fphive/lists"}