Download the PHP package dcodegroup/laravel-myob-oauth without Composer
On this page you can find all versions of the php package dcodegroup/laravel-myob-oauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dcodegroup/laravel-myob-oauth
More information about dcodegroup/laravel-myob-oauth
Files in dcodegroup/laravel-myob-oauth
Package laravel-myob-oauth
Short Description Simple package which dcode uses to handle the connection to MYOB for all projects. Provides endpoints for UI and callbacks for MYOB
License MIT
Informations about the package laravel-myob-oauth
Laravel MYOB
This package provides the standard MYOB connection functionality used in most projects.
Installation
You can install the package via composer:
Then run the install command.
This will publish the configuration file and the migration file.
Run the migrations
Configuration
Most of configuration has been set the fair defaults. However you can review the configuration file at config/laravel-myob-oauth.php
and adjust as needed
Usage
The package provides an endpoints which you can use. See the full list by running
More Information
example.com/myob
Which is where you will generate the link to authorise MYOB. This is by default protected auth middleware but you can modify in the configuration. This is where you want to link to in your admin and possibly a new window
example.com/myob/callback
This is the route for which xero will redirect back tp after the oauth has occurred. This is excluded from the middleware auth. You can change this list in the configuration also.
BaseMyobService
The package has a BaseMyobService
class located at Dcodegroup\LaravelMyobOauth\BaseMyobService
So your application should have its own MyobService extend this base class as the initialisation is already done.
All versions of laravel-myob-oauth with dependencies
laravel/framework Version ^8.0|^9.0
league/oauth2-client Version 1.*|2.*
spatie/laravel-log-dumper Version ^1.4