Download the PHP package krinkle/intuition without Composer
On this page you can find all versions of the php package krinkle/intuition. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package intuition
Intuition
Install
It's recommended you use Composer.
- Run
composer require krinkle/intuition
. - Include
vendor/autoload.php
in your program.
Usage
To use it in a tool, read the Usage documentation.
Example:
require_once __DIR__ . '/vendor/autoload.php';
$int = new Intuition( 'mytool' );
$int->registerDomain( 'mytool', __DIR__ . '/i18n' );
echo $int->msg( 'example' );
Getting involved
Report issues by creating a Phabricator task.
Code coverage can be found at https://doc.wikimedia.org/cover/labs-tools-intuition/.
Testing
Use Composer for managing dependencies (such as PHPUnit). Install Composer via your preferred package manager, or from source. Some tests also require Node.js.
Prior to running tests, ensure presence of development dependencies:
composer install
Run the tests:
composer test
See also
- intuition-web: The web interface to Intuition.
All versions of intuition with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package krinkle/intuition contains the following files
Loading the files please wait ....