PHPackages                             jk-oster/pa11y-php - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. jk-oster/pa11y-php

ActiveLibrary[Testing &amp; Quality](/categories/testing)

jk-oster/pa11y-php
==================

A package to create accessibility reports using pa11y in php.

021[2 PRs](https://github.com/jk-oster/pa11y-php/pulls)PHPCI passing

Since Oct 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jk-oster/pa11y-php)[ Packagist](https://packagist.org/packages/jk-oster/pa11y-php)[ RSS](/packages/jk-oster-pa11y-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

A package to create accessibility reports in php
================================================

[](#a-package-to-create-accessibility-reports-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/86da4640bd00203d56d011848328e00dd0ff0eaec0adc290bf12a4c7ecac80c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6b2d6f737465722f70613131792d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jk-oster/pa11y-php)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e0a36ba68a27afaf0010dd0aa25cf2952993737d713bc6c316301908fe50d522/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6b2d6f737465722f70613131792d7068702f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/jk-oster/pa11y-php/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c9a84a5fcfae97d5d64b735a30874fd89fd0a7a4f91cf235a317075a0fd90753/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6b2d6f737465722f70613131792d7068702f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/jk-oster/pa11y-php/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/93015d7902435895bcf9e7ecff8bd0eaeb6bffd70ff55fce291dd13dd417b4f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6b2d6f737465722f70613131792d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jk-oster/pa11y-php)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/9e4f2c862d16424575a505286a5fd07a139218994671cf885bcb349cf2b5d0f6/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f70613131792d7068702e6a70673f743d31)](https://spatie.be/github-ad-click/pa11y-php)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require jk-oster/pa11y-php
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="pa11y-php-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="pa11y-php-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="pa11y-php-views"
```

Usage
-----

[](#usage)

```
$laravelPa11y = new JkOster\Pa11y();
echo $laravelPa11y->echoPhrase('Hello, JkOster!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jakob Osterberger](https://github.com/jk-oster)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7cb92d9b8c8ca66ec52503dc5b91f5d046d2aa2ab3ce03fd8c931e2681b1332?d=identicon)[jk-oster](/maintainers/jk-oster)

---

Top Contributors

[![jk-oster](https://avatars.githubusercontent.com/u/98315600?v=4)](https://github.com/jk-oster "jk-oster (22 commits)")

---

Tags

accessibilitypa11yreportingtesting

### Embed Badge

![Health badge](/badges/jk-oster-pa11y-php/health.svg)

```
[![Health](https://phpackages.com/badges/jk-oster-pa11y-php/health.svg)](https://phpackages.com/packages/jk-oster-pa11y-php)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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