Skip to content

Latest commit

 

History

105 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brightree PHP SDK

Install

Using the composer CLI:

composer require 1naturalway/brightree

Or manually add it to your composer.json:

{
  "require": {
    "1naturalway/brightree": "dev-master",
  }
}

Laravel 5.1 Service Provider

In config/app.php, register the service provider

Brightree\FrameworkSupport\Laravel\BrightreeServiceProvider::class,

Register the Facade (optional)

'Brightree' => Brightree\FrameworkSupport\Laravel\BrightreeFacade::class

Publish the config

php artisan vendor:publish --provider="Brightree\FrameworkSupport\Laravel\BrightreeServiceProvider"

Set your env variables

BRIGHTREE_USERNAME=xxxxxxxx
BRIGHTREE_PASSWORD=xxxxxxxx

Access Brightree SDK from the Facade or Binding

 $service = Brightree::orderEntryService();

 $service = app('brightree)->orderEntryService();

Processing a Customer

  1. Create Patient
  2. Add Insurance to Patient
  3. Create Sales Order
  4. Add Items to Sales Order

About

Brightree API Wrapper

Topics

Resources

Stars

6 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages