NetSuite Laravel Wrapper
, (*1)
Installation
First create a repository pointing to this package in your composer.json:, (*2)
"repositories": [
{
"type": "vcs",
"url": "https://bitbucket.org/cofficient/netsuite.git"
}
],
Add the package to your composer.json:, (*3)
"cofficient/netsuite": "dev-master"
Run composer update and add the provider to your app in config/app.php:, (*4)
'Cofficient\NetSuite\NetSuiteServiceProvider',
Create the facade shortcut by adding this to aliases:, (*5)
'NetSuite' => 'Cofficient\NetSuite\Facades\NetSuite',
Add the config file excel.php to your config folder by running:, (*6)
php artisan vendor:publish
Edit the config file excel.php to match your NetSuite settings., (*7)
The class is available through the IoC as netsuite., (*8)
$netsuite = App:make('netsuite');