PHPackages                             primitivesocial/bluemoonwrapper - 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. primitivesocial/bluemoonwrapper

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

primitivesocial/bluemoonwrapper
===============================

Bluemoon REST API Wrapper

1.02(7y ago)06MITPHP

Since Dec 30Pushed 7y ago3 watchersCompare

[ Source](https://github.com/PrimitiveSocial/bluemoon-rest-wrapper)[ Packagist](https://packagist.org/packages/primitivesocial/bluemoonwrapper)[ Docs](https://github.com/primitivesocial/bluemoonwrapper)[ RSS](/packages/primitivesocial-bluemoonwrapper/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

BlueMoonRestWrapper
===================

[](#bluemoonrestwrapper)

Wrapper around the Bluemoon REST API for Laravel.

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

[](#installation)

### Via Composer

[](#via-composer)

```
$ composer require primitivesocial/bluemoonwrapper
```

### Via composer.json file for git repo

[](#via-composerjson-file-for-git-repo)

```
"repositories" : [
  ...,
  {
    "type": "package",
    "package": {
      "name": "primitivesocial/bluemoonrestwrapper",
      "version": "0.0.1",
      "source": {
        "type" : "git",
        "url" : "git@github.com:PrimitiveSocial/bluemoon-rest-wrapper.git",
        "reference" : "0.0.1"
      },
      "dist": {
        "url": "https://github.com/PrimitiveSocial/bluemoon-rest-wrapper/archive/master.zip",
        "type": "zip"
      }
    }
  }
]
```

### Env vars

[](#env-vars)

```
# REST API VARS, THESE ARE REQUIRED
BLUEMOON_CLIENT_URL=
BLUEMOON_CLIENT_SECRET=
BLUEMOON_CLIENT_ID=
BLUEMOON_USERNAME=
BLUEMOON_PASSWORD=
BLUEMOON_LICENSE=

# SOAP API VARS
BLUEMOON_SOAP_CLIENT_URL=
BLUEMOON_SOAP_USERNAME=
BLUEMOON_SOAP_PASSWORD=
BLUEMOON_SOAP_SERIAL=

# BROWSER APPLICATION
BLUEMOON_APPLICATION_URL=
BLUEMOON_LEASE_URL=
BLUEMOON_APPLICATION_API_URL=
BLUEMOON_ESIGNATURE_API_URL=
BLUEMOON_DEBUG=true
```

You must add a config file called `bluemoon.php`. The package comes with one for all three Bluemoon setups out of the box.

```
