{"id":24884572,"url":"https://github.com/grmvoid/latest-php-releases-action","last_synced_at":"2025-03-27T09:43:21.912Z","repository":{"id":244994110,"uuid":"816401485","full_name":"grmvoid/latest-php-releases-action","owner":"grmvoid","description":"A GitHub Action to fetch a list of active PHP releases from https://php.net","archived":false,"fork":false,"pushed_at":"2025-01-01T08:56:02.000Z","size":816,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T14:35:22.513Z","etag":null,"topics":["github-actions","php-release"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grmvoid.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},"funding":{"github":"nulxrd"}},"created_at":"2024-06-17T17:13:12.000Z","updated_at":"2025-01-01T08:56:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa935835-bbb8-4acb-a3d2-e98c8c34f471","html_url":"https://github.com/grmvoid/latest-php-releases-action","commit_stats":null,"previous_names":["nuldark/latest-php-releases-action","sxbrsky/latest-php-releases-action","grmvoid/latest-php-releases-action"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grmvoid%2Flatest-php-releases-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grmvoid%2Flatest-php-releases-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grmvoid%2Flatest-php-releases-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grmvoid%2Flatest-php-releases-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grmvoid","download_url":"https://codeload.github.com/grmvoid/latest-php-releases-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245821729,"owners_count":20678077,"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":["github-actions","php-release"],"created_at":"2025-02-01T14:29:35.914Z","updated_at":"2025-03-27T09:43:21.890Z","avatar_url":"https://github.com/grmvoid.png","language":"TypeScript","funding_links":["https://github.com/sponsors/nulxrd"],"categories":[],"sub_categories":[],"readme":"# Latest PHP Releases Action\n\nA GitHub Action to fetch a list of active PHP releases from [php.net](https://php.net).\n\n## Outputs\n\n### `releases`\n\nThe list of the latest releases, as a list of objects (`object[]`).\n\n```json\n[\n    {\n        \"version\": \"8.3.8\",\n        \"sources\": [\n            {\n                \"filename\": \"php-8.3.8.tar.gz\",\n                \"name\": \"PHP 8.3.8 (tar.gz)\",\n                \"sha256\": \"0ebed9f1471871cf131e504629f3947f2acd38a655cc31b036f99efd0e3dbdeb\",\n                \"date\": \"06 Jun 2024\"\n            },\n            {\n                \"filename\": \"php-8.3.8.tar.bz2\",\n                \"name\": \"PHP 8.3.8 (tar.bz2)\",\n                \"sha256\": \"f4a6cb005ae117aba86c2044932cf563899a2e977ac09781aa74b2161ddc563b\",\n                \"date\": \"06 Jun 2024\"\n            },\n            {\n                \"filename\": \"php-8.3.8.tar.xz\",\n                \"name\": \"PHP 8.3.8 (tar.xz)\",\n                \"sha256\": \"aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7\",\n                \"date\": \"06 Jun 2024\"\n            }\n        ]\n    }\n]\n```\n\n## Example usage\n\n```yaml\nname: PHP Latest Releases\n\non:\n  pull_request:\n  push:\n\njobs:\n  latest-releases:\n    runs-on: ubuntu-latest\n    outputs:\n      releases: ${{ steps.get-latest-releases.outputs.releases }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: sxbrsky/latest-php-releases-action@v1\n        id: get-latest-releases\n\n  print-php-version:\n    needs: [ 'latest-releases' ]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        releases: ${{ fromJson(needs.latest-releases.outputs.releases) }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - run: echo \"php-${{ matrix.releases.version }}\"\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrmvoid%2Flatest-php-releases-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrmvoid%2Flatest-php-releases-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrmvoid%2Flatest-php-releases-action/lists"}