concrete5 Client
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
concrete5 Client is a client library that makes it possible and simple to connect to concrete5 sites v6 or newer., (*2)
Basic Usage
Version 6 legacy sites, (*3)
<?php
$adapter = new Version6Adapter();
$client = new Concrete5($adapter);
$connection = $client->connect('/path/to/concrete5');
\Loader::library('...');
Modern concrete5, (*4)
<?php
$adapter = new Version8Adapter();
$client = new Concrete5($adapter);
$connection = $client->connect('/path/to/concrete5');
$app = $connection->getApplication();
$app->make('...');
Install
Via Composer, (*5)
``` bash
$ composer require buttress/c5client, (*6)
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Testing
``` bash
$ composer test
Contributing
Please see CONTRIBUTING for details., (*7)
Security
If you discover any security related issues, please email korvinszanto@gmail.com instead of using the issue tracker., (*8)
Credits
License
The MIT License (MIT). Please see License File for more information., (*9)