buttress/c5client

Client to connect to concrete5 sites v6+.

dev-master / 1.0.x-dev 2018-02-19 17:15 UTC

This package is auto-updated.

Last update: 2024-03-29 03:31:58 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

concrete5 Client is a client library that makes it possible and simple to connect to concrete5 sites v6 or newer.

Basic Usage

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('...');

Install

Via Composer

$ composer require buttress/c5client

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email korvinszanto@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.