PHPackages                             cerpus/metadataservice-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/metadataservice-client

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

cerpus/metadataservice-client
=============================

Client to handle communication with the Cerpus MetadataService

1.3.0(5y ago)0162PHP

Since Sep 3Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (8)Versions (20)Used By (0)

Cerpus Metadata Service Client
==============================

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

PHP library to communicate with the Cerpus Metadata Service

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

[](#installation)

Use composer to require the package

```
composer require cerpus/metadataservice-client
```

### Laravel

[](#laravel)

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

```
Cerpus\MetadataServiceClient\Providers\MetadataServiceClientServiceProvider::class,
```

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

```
'MetadataService' => \Cerpus\MetadataServiceClient\MetadataServiceClient::class,
```

Publish the config file from the package

```
php artisan vendor:publish --provider="Cerpus\MetadataServiceClient\Providers\MetadataServiceClientServiceProvider" --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\MetadataServiceClient\Providers\MetadataServiceClientServiceProvider::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/metadataservice-client.php`

```
