2017 © Pedro Peláez
 

library emu-client

Export data from EMu Collection Management System via the IMu API.

image

imamuseum/emu-client

Export data from EMu Collection Management System via the IMu API.

  • Thursday, June 9, 2016
  • by IMAmuseum
  • Repository
  • 5 Watchers
  • 4 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Emu Client

Works with the IMu API for PHP v2.0 - http://imu.mel.kesoftware.com/doc/api/php/index.html, (*1)

This package will work independently of the Laravel Framework., (*2)

Composer Setup

composer require imamuseum/emu-client

Basic Usage

use Imamuseum\EmuClient\EmuExport;

require_once __DIR__ . '/../vendor/autoload.php';

$config = require_once 'path/to/config/emu-client.php';

$emu = new EmuExport($config);
$emu->saveJsonFiles();


Laravel Usage

Service Provider

In config\app.php add to the autoloaded providers -, (*3)

Imamuseum\EmuClient\EmuClientServiceProvider::class,

Publish Config

php artisan vendor:publish

Now you can set-up your emu-client in config\emu-client.php., (*4)

Environmental Variables

Add to your .env:, (*5)

EMU_HOST=hostname
EMU_PORT=40000

Artisan Command

php artisan emu:export

Will output chunked json files to the directory defined as your export_path., (*6)

The Versions

09/06 2016

dev-master

9999999-dev

Export data from EMu Collection Management System via the IMu API.

  Sources   Download

MIT

The Requires

 

09/06 2016

1.0.0

1.0.0.0

Export data from EMu Collection Management System via the IMu API.

  Sources   Download

MIT

The Requires