{"id":15515510,"url":"https://github.com/szepeviktor/phive","last_synced_at":"2025-04-23T03:21:33.134Z","repository":{"id":65161939,"uuid":"305438207","full_name":"szepeviktor/phive","owner":"szepeviktor","description":"Install PHIVE in GitHub Actions","archived":false,"fork":false,"pushed_at":"2021-07-06T21:05:38.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T20:07:16.712Z","etag":null,"topics":["phar","phive","php","verification"],"latest_commit_sha":null,"homepage":"https://github.com/szepeviktor/phive-install","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/szepeviktor.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}},"created_at":"2020-10-19T15:58:54.000Z","updated_at":"2023-10-16T15:01:16.000Z","dependencies_parsed_at":"2023-01-04T12:39:03.133Z","dependency_job_id":null,"html_url":"https://github.com/szepeviktor/phive","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fphive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fphive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fphive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fphive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szepeviktor","download_url":"https://codeload.github.com/szepeviktor/phive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250361360,"owners_count":21417878,"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","phive","php","verification"],"created_at":"2024-10-02T10:02:29.298Z","updated_at":"2025-04-23T03:21:33.117Z","avatar_url":"https://github.com/szepeviktor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install PHIVE in GitHub Actions\n\nThe Phar Installation and Verification Environment :)\n\n### Usage\n\n```yaml\njobs:\n  phive:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Install PHIVE\"\n        uses: \"szepeviktor/phive@v1\"\n```\n\nFull example.\n\n```yaml\njobs:\n  phive:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        php-version:\n          - \"7.4\"\n          - \"7.3\"\n    steps:\n      - name: \"Set default PHP version\"\n        run: \"sudo update-alternatives --set php /usr/bin/php${{ matrix.php-version }}\"\n      - name: \"Checkout code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Cache tools installed with PHIVE\"\n        uses: \"actions/cache@v2.1.2\"\n        with:\n          path: \"${{ runner.temp }}/.phive\"\n          key: \"php-${{ matrix.php-version }}-phive-${{ hashFiles('.phive/phars.xml') }}\"\n          restore-keys: \"php-${{ matrix.php-version }}-phive-\"\n\n      - name: \"Install PHIVE\"\n        uses: \"szepeviktor/phive@v1\"\n        with:\n          home: \"${{ runner.temp }}/.phive\"\n          binPath: \"${{ github.workspace }}/tools/phive\"\n\n      - name: \"Install PHP tools with PHIVE\"\n        uses: \"szepeviktor/phive-install@v1\"\n        with:\n          home: \"${{ runner.temp }}/.phive\"\n          binPath: \"${{ github.workspace }}/tools/phive\"\n          trustGpgKeys: \"4AA394086372C20A,CF1A108D0E7AE720,E82B2FB314E9906E\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fphive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszepeviktor%2Fphive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fphive/lists"}