buttress / c5client
Client to connect to concrete5 sites v6+.
dev-master / 1.0.x-dev
2018-02-19 17:15 UTC
Requires
- php: ~5.6|~7.0
Requires (Dev)
- phpunit/phpunit: ~5.5||~6.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-10-29 04:47:28 UTC
README
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.