2017 © Pedro Peláez
 

library laravel-indexer-client

A php client for the laravel-indexer-service

image

ipunkt/laravel-indexer-client

A php client for the laravel-indexer-service

  • Thursday, July 19, 2018
  • by rokde
  • Repository
  • 2 Watchers
  • 0 Stars
  • 303 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 32 % Grown

The README.md

laravel-indexer-client

Latest Stable Version Latest Unstable Version License Total Downloads, (*1)

A php client for the laravel-indexer-service., (*2)

Installation

composer require ipunkt/laravel-indexer-client

If you need a < php7 release use the 1.* version., (*3)

Binding in Laravel

In any ServiceProvider do the following:, (*4)

public function register()
{
    $this->app->bind(IndexerClient::class, function () {
        $host = config('indexer.service');
        $token = config('indexer.token');
        try {
            $httpClient = new Client();
            $client = new IndexerClient($host, $httpClient, $token);
            return $client;
        } catch (Exception $exception) {
            throw new \RuntimeException('IndexerClient can not be instantiated.', 0, $exception);
        }
    });
}

The Versions

19/07 2018

dev-master

9999999-dev

A php client for the laravel-indexer-service

  Sources   Download

MIT

The Requires

 

by Robert Kummer

19/07 2018

1.1.0

1.1.0.0

A php client for the laravel-indexer-service

  Sources   Download

MIT

The Requires

 

by Robert Kummer

20/07 2017

0.0.3

0.0.3.0

A php client for the laravel-indexer-service

  Sources   Download

MIT

The Requires

 

by Robert Kummer

20/07 2017

0.0.2

0.0.2.0

A php client for the laravel-indexer-service

  Sources   Download

MIT

The Requires

 

by Robert Kummer

20/07 2017

0.0.1

0.0.1.0

A php client for the laravel-indexer-service

  Sources   Download

MIT

The Requires

 

by Robert Kummer