concrete5 Client is a client library that makes it possible and simple to connect to concrete5 sites v6 or newer.
Version 6 legacy sites
<?php
$adapter = new Version6Adapter();
$client = new Concrete5($adapter);
$connection = $client->connect('/path/to/concrete5');
\Loader::library('...');
Modern concrete5
<?php
$adapter = new Version8Adapter();
$client = new Concrete5($adapter);
$connection = $client->connect('/path/to/concrete5');
$app = $connection->getApplication();
$app->make('...');
Via Composer
$ composer require buttress/c5client
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email korvinszanto@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.