Download the PHP package jbboehr/akashi without Composer

On this page you can find all versions of the php package jbboehr/akashi. 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 akashi

Probatio Verborum Viventium『証』〜AKASHI〜 — executable documentation testing for PHP

Akashi

Build Built with Nix AI burn

Akashi turns PHP examples in Markdown and PHPDoc into executable tests. PHP fences in a README, documentation site, or source docblock form one shared corpus that PHPUnit executes in-process by default, while individual examples can opt into a child process. Supported native assert() calls remain unconditional, failures point back to the maintained source, and the same examples can participate in PHPStan verification or named consumer-fixture extraction.

Put an ordinary PHP fence in README.md or another selected Markdown file:

This example is tested by Akashi in this repository.

Quick PHPUnit Usage

Create a PHPUnit test such as tests/DocumentationExamplesTest.php:

Run vendor/bin/phpunit. Akashi discovers each selected PHP fence, rewrites supported native assert() calls so they cannot be disabled by PHP configuration, and executes each example as a named PHPUnit data set. The trait supplies the provider and test method; the project supplies only its corpus. The default backend isolates local variables and declarations in-process. When an assertion fails, the report identifies the maintained documentation example rather than only generated code.

Installation

Akashi requires PHP 8.1 or later. Install it with a compatible PHPUnit release:

Akashi supports the PHPUnit 10.5 and 11.5 release lines. Composer selects PHPUnit 10.5 on PHP 8.1 and the newest compatible release on later PHP versions.

Features

Akashi executes trusted project code; neither runtime backend is a security sandbox. See Compatibility and Safety for the exact boundary.

Documentation and Status

Start with the Quick Start, or read the complete documentation.

The Markdown, inline PHPDoc, canonical external-example, synchronization, and optional inline-formatting workflows, both runtime backends, PHPUnit integration, PHPStan verification, and marked extraction are implemented. Both recorded consumer migrations are complete. Akashi is still pre-1.0; its categorized public API is usable but may change between minor releases before 1.0.

License

Akashi is licensed under AGPL-3.0-only WITH romic-exception. See LICENSE.md and the Romic Exception. Contributions follow CONTRIBUTING.md.


All versions of akashi with dependencies

PHP Build Version
Package Version
Requires arokettu/random-polyfill Version >=1.0.6 <1.99
composer-runtime-api Version ^2.2
league/commonmark Version ^2.8.3
nikic/php-parser Version ^4.19.5 || ^5.8
php Version ^8.1
sebastian/diff Version ^5.1.1 || ^6.0.2
symfony/console Version ^6.4 || ^7.4
symfony/process Version ^6.4 || ^7.4
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 jbboehr/akashi contains the following files

Loading the files please wait ...