Download the PHP package jidaikobo/a11yc without Composer

On this page you can find all versions of the php package jidaikobo/a11yc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package a11yc

a11yc

License: MIT

a11yc is the core accessibility checking library extracted from A11YC.

This package is a PHP library, not the old standalone web application. It provides HTML and URL analysis APIs that can be embedded in other applications such as the standalone UI layer or the jwp-a11y WordPress plugin.

Requirements

Installation

If you are working on this repository directly:

Compiled Resources

Runtime resource loading now expects precompiled PHP arrays in resources/compiled/.

The distributed package should include:

When you change resource source files under resources/, rebuild the compiled files before committing or packaging:

This command regenerates the compiled PHP arrays from the YAML source files.

At runtime, a11yc uses the compiled files first. If they are missing, the library raises an error unless YAML fallback is explicitly enabled for development.

Development-Only YAML Fallback

For local development only, you can allow direct YAML loading with a Git-ignored config.development.php file in the package root:

This file is not intended for distribution. In normal packaged environments, keep compiled resources available and do not rely on YAML fallback.

What This Package Does

Basic Usage

Analyze a URL

Analyze HTML

Result Format

Analyzer::analyzeUrl() and Analyzer::analyzeHtml() return an array with these top-level keys:

meta

summary

counts_by_level contains:

issues

Each issue is normalized into a flat array:

images

When include_images is enabled, image data includes:

Available Options

Both Analyzer::analyzeUrl() and Analyzer::analyzeHtml() accept an options array.

Lower-Level API

If you need the raw validation result set before normalization:

The normalized API via Analyzer is recommended for new integrations.

License

MIT


All versions of a11yc with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
guzzlehttp/guzzle Version ^7.15.2
symfony/polyfill-intl-idn Version ^1.38.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jidaikobo/a11yc contains the following files

Loading the files please wait ...