Skip to content

Installation

Condorcet can be easily integrated into your PHP projects, whether you use Composer, a custom autoloader, or plain PHP. Below are the recommended and alternative installation methods to get you started quickly.

bash
composer require julien-boudry/condorcet
php
# https://packagist.org/packages/julien-boudry/condorcet
use CondorcetPHP\Condorcet\Election ;

require_once 'Condorcet/__CondorcetAutoload.php' ;

$election = new Election () ;
text
Condorcet library is compliant with PSR-4 autoloader.

Released under the MIT License.