Skip to content

A client that connects directly to legacy or modern concrete5 sites

License

Notifications You must be signed in to change notification settings

buttress/c5client

Repository files navigation

concrete5 Client

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.

About

A client that connects directly to legacy or modern concrete5 sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages