PHPackages                             allure-framework/allure-php-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. allure-framework/allure-php-api

ActiveLibrary[API Development](/categories/api)

allure-framework/allure-php-api
===============================

Allure PHP commons

1.6.0(5mo ago)3411.1M↑15.9%28[6 PRs](https://github.com/allure-framework/allure-php-api/pulls)7Apache-2.0PHPPHP &gt;=7.1.3CI passing

Since Jun 4Pushed 2mo ago9 watchersCompare

[ Source](https://github.com/allure-framework/allure-php-api)[ Packagist](https://packagist.org/packages/allure-framework/allure-php-api)[ Docs](https://allurereport.org/)[ RSS](/packages/allure-framework-allure-php-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (30)Used By (7)

Allure PHP API (maintenance)
============================

[](#allure-php-api-maintenance)

This project is in Maintenance mode. The new version of PHP API is available at [`allure-framework/allure-php-commons`](https://github.com/allure-framework/allure-php-commons2).

[![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)

This repository contains PHP API for Allure framework. The main idea is to reuse this API when creating adapters for different test frameworks.

Getting started
---------------

[](#getting-started)

In order to use this API you simply need to add the following to **composer.json**:

```
{
  "require": {
    "php": ">=7.3",
    "allure-framework/allure-php-api": "~1.0.0"
  }
}
```

Basic usage idiom is to fire an event like the following:

```
Allure::lifecycle()->fire(new TestCaseFinishedEvent());
```

Events
------

[](#events)

The following events are available right now:

- AddAttachmentEvent
- AddParameterEvent
- ClearStepStorageEvent
- ClearTestCaseStorageEvent
- RemoveAttachmentsEvent
- StepCanceledEvent
- StepEvent
- StepFailedEvent
- StepFinishedEvent
- StepStartedEvent
- TestCaseBrokenEvent
- TestCaseCanceledEvent
- TestCaseEvent
- TestCaseFailedEvent
- TestCaseFinishedEvent
- TestCasePendingEvent
- TestCaseStartedEvent
- TestCaseStatusChangedEvent
- TestSuiteEvent
- TestSuiteFinishedEvent
- TestSuiteStartedEvent

Usage examples
--------------

[](#usage-examples)

See [`allure-phpunit`](https://github.com/allure-framework/allure-phpunit) project.

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance80

Actively maintained with recent releases

Popularity58

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~209 days

Recently: every ~432 days

Total

21

Last Release

179d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.3.0PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/52278cde75b5d37f998b44090baf3fcf89ca1f05cbdfa739896f036eaa31aae6?d=identicon)[baev](/maintainers/baev)

![](https://www.gravatar.com/avatar/bba4447ad4d6e748f19e1f5612a40d0a2b20cdf870be65216cc65df7a812f482?d=identicon)[eroshenkoam](/maintainers/eroshenkoam)

---

Top Contributors

[![vania-pooh](https://avatars.githubusercontent.com/u/829320?v=4)](https://github.com/vania-pooh "vania-pooh (24 commits)")[![baev](https://avatars.githubusercontent.com/u/2149631?v=4)](https://github.com/baev "baev (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![robot-bucket](https://avatars.githubusercontent.com/u/135020565?v=4)](https://github.com/robot-bucket "robot-bucket (9 commits)")[![remorhaz](https://avatars.githubusercontent.com/u/13167914?v=4)](https://github.com/remorhaz "remorhaz (5 commits)")[![OndraM](https://avatars.githubusercontent.com/u/793041?v=4)](https://github.com/OndraM "OndraM (3 commits)")[![vdvukhzhilov](https://avatars.githubusercontent.com/u/17381580?v=4)](https://github.com/vdvukhzhilov "vdvukhzhilov (2 commits)")[![mihaeu](https://avatars.githubusercontent.com/u/2168701?v=4)](https://github.com/mihaeu "mihaeu (1 commits)")[![KorDum](https://avatars.githubusercontent.com/u/1331559?v=4)](https://github.com/KorDum "KorDum (1 commits)")[![polozpavlo](https://avatars.githubusercontent.com/u/18253561?v=4)](https://github.com/polozpavlo "polozpavlo (1 commits)")[![polozpi](https://avatars.githubusercontent.com/u/18253561?v=4)](https://github.com/polozpi "polozpi (1 commits)")[![hostep](https://avatars.githubusercontent.com/u/85479?v=4)](https://github.com/hostep "hostep (1 commits)")[![eduard-sukharev](https://avatars.githubusercontent.com/u/3235378?v=4)](https://github.com/eduard-sukharev "eduard-sukharev (1 commits)")[![SilinMykola](https://avatars.githubusercontent.com/u/15772032?v=4)](https://github.com/SilinMykola "SilinMykola (1 commits)")[![stdex](https://avatars.githubusercontent.com/u/4608879?v=4)](https://github.com/stdex "stdex (1 commits)")[![TomA-R](https://avatars.githubusercontent.com/u/1606901?v=4)](https://github.com/TomA-R "TomA-R (1 commits)")[![tyz910](https://avatars.githubusercontent.com/u/1503703?v=4)](https://github.com/tyz910 "tyz910 (1 commits)")[![delatrie](https://avatars.githubusercontent.com/u/17935127?v=4)](https://github.com/delatrie "delatrie (1 commits)")[![burdiyan](https://avatars.githubusercontent.com/u/1793789?v=4)](https://github.com/burdiyan "burdiyan (1 commits)")

---

Tags

allurephpreportingphpapireportallure

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/allure-framework-allure-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/allure-framework-allure-php-api/health.svg)](https://phpackages.com/packages/allure-framework-allure-php-api)
```

###  Alternatives

[ezsystems/allure-php-api

PHP API for Allure adapter

13431.1k11](/packages/ezsystems-allure-php-api)[webit/w-firma-api

wFirma.pl API

1820.2k](/packages/webit-w-firma-api)[hg/apidoc-thinkphp

thinkphp API文档自动生成

1311.8k](/packages/hg-apidoc-thinkphp)[wayofdev/laravel-symfony-serializer

📦 Laravel wrapper around Symfony Serializer.

2113.6k](/packages/wayofdev-laravel-symfony-serializer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
