{"id":19041857,"url":"https://github.com/allure-framework/allure-php-api","last_synced_at":"2025-04-06T08:15:31.377Z","repository":{"id":17606655,"uuid":"20410510","full_name":"allure-framework/allure-php-api","owner":"allure-framework","description":"PHP API for Allure Framework","archived":false,"fork":false,"pushed_at":"2024-01-08T17:41:20.000Z","size":153,"stargazers_count":33,"open_issues_count":5,"forks_count":28,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-30T00:55:04.388Z","etag":null,"topics":["allure","php","reporting"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/allure-framework.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}},"created_at":"2014-06-02T16:14:49.000Z","updated_at":"2024-06-18T22:16:16.000Z","dependencies_parsed_at":"2023-02-17T13:20:18.750Z","dependency_job_id":"ac72fedf-f6f6-461f-ad44-4a155b2e6ebd","html_url":"https://github.com/allure-framework/allure-php-api","commit_stats":{"total_commits":63,"total_committers":19,"mean_commits":"3.3157894736842106","dds":0.7619047619047619,"last_synced_commit":"fc52ffaa90520e60d395a26541e6b3ae0081f88d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-php-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-php-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-php-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allure-framework%2Fallure-php-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allure-framework","download_url":"https://codeload.github.com/allure-framework/allure-php-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182394,"owners_count":20897381,"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":["allure","php","reporting"],"created_at":"2024-11-08T22:32:52.791Z","updated_at":"2025-04-06T08:15:31.350Z","avatar_url":"https://github.com/allure-framework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Allure PHP API (maintenance)\n\nThis project is in Maintenance mode. The new version of PHP API is available https://github.com/allure-framework/allure-php-commons2 .\n\n[![Build](https://github.com/allure-framework/allure-php-api/actions/workflows/build.yml/badge.svg)](https://github.com/allure-framework/allure-php-api/actions/workflows/build.yml)\n\nThis repository contains PHP API for Allure framework. The main idea is to reuse this API when creating adapters for different test frameworks.\n\n## Getting started\nIn order to use this API you simply need to add the following to **composer.json**:\n```json\n{\n    \"require\": {\n        \"php\": \"\u003e=5.4.0\",\n        \"allure-framework/allure-php-api\": \"~1.0.0\"\n    }\n}\n```\nBasic usage idiom is to fire an event like the following:\n```php\nAllure::lifecycle()-\u003efire(new TestCaseFinishedEvent());\n```\n\n## Events\nThe following events are available right now:\n* AddAttachmentEvent\n* AddParameterEvent\n* ClearStepStorageEvent\n* ClearTestCaseStorageEvent\n* RemoveAttachmentsEvent\n* StepCanceledEvent\n* StepEvent\n* StepFailedEvent\n* StepFinishedEvent\n* StepStartedEvent\n* TestCaseBrokenEvent\n* TestCaseCanceledEvent\n* TestCaseEvent\n* TestCaseFailedEvent\n* TestCaseFinishedEvent\n* TestCasePendingEvent\n* TestCaseStartedEvent\n* TestCaseStatusChangedEvent\n* TestSuiteEvent\n* TestSuiteFinishedEvent\n* TestSuiteStartedEvent\n\n## Usage examples\nSee [allure-phpunit](https://github.com/allure-framework/allure-phpunit) project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallure-framework%2Fallure-php-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallure-framework%2Fallure-php-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallure-framework%2Fallure-php-api/lists"}