buttress / c5client
Client to connect to concrete5 sites v6+.
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 1
Open Issues: 0
pkg:composer/buttress/c5client
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: 2025-09-29 02:06:12 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.