PHPackages                             cerpus/imageservice-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. cerpus/imageservice-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cerpus/imageservice-client
==========================

Client to handle communication with the Cerpus ImageService

v2.3.0(1y ago)08.5k↓42.9%2GPL-3.0-onlyPHPPHP ^8.2CI passing

Since May 29Pushed 1y ago3 watchersCompare

[ Source](https://github.com/cerpus/php-imageservice-client)[ Packagist](https://packagist.org/packages/cerpus/imageservice-client)[ RSS](/packages/cerpus-imageservice-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (7)Versions (30)Used By (0)

Cerpus Image Service Client
===========================

[](#cerpus-image-service-client)

PHP library to communicate with the Cerpus Image Service

Installation
------------

[](#installation)

Use composer to require the package

```
composer require cerpus/imageservice-client
```

### Laravel

[](#laravel)

When composer has finished, add the service provider to the `providers` array in `config/app.php`

```
Cerpus\ImageServiceClient\Providers\ImageServiceClientServiceProvider::class,
```

Add the following to the `alias` array in `config/app.php`

```
'ImageService' => \Cerpus\ImageServiceClient\ImageServiceClient::class,
```

Publish the config file from the package

```
php artisan vendor:publish --provider="Cerpus\ImageServiceClient\Providers\ImageServiceClientServiceProvider" --tag=config
```

### Lumen

[](#lumen)

*Not tested, but should work. You are welcome to update this documentation if this does not work!*

Add service provider in `app/Providers/AppServiceProvider.php`

```
public function register()
{
    $this->app->register(Cerpus\ImageServiceClient\Providers\ImageServiceClientServiceProvider::class);
}
```

Uncomment the line that loads the service providers in `bootstrap/app.php`

```
$app->register(App\Providers\AppServiceProvider::class);
```

### Edit the configuration file

[](#edit-the-configuration-file)

Edit `config/imageservice-client.php`

```
