Download the PHP package issamlk1/laravel7-netsuite without Composer
On this page you can find all versions of the php package issamlk1/laravel7-netsuite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download issamlk1/laravel7-netsuite
More information about issamlk1/laravel7-netsuite
Files in issamlk1/laravel7-netsuite
Package laravel7-netsuite
Short Description A laravel5 wrapper around ryanwinchester/netsuite-php
License MIT
Informations about the package laravel7-netsuite
based on usulix/laravel-netsuite just updated to laravel 7
ryanwinchester/netsuite-php is a php package which wraps the NetSuite PHP Toolkit in an easier to use API. ryanwinchester/netsuite-php targets NetSuite WebServices.
This package wraps ryanwinchester/netsuite-php in a standard Laravel 5 package and also adds a basic API for targeting NetSuite RESTlets
Installation
Will use the latest ryanwinchester/netsuite-php
version up to v2018.2.0
if an older version say v2017.1.1
or v2016.2.0
is required
Register the package
-
Laravel 5.5 and up Uses package auto discovery feature, no need to edit the
config/app.php
file. - Laravel 5.4 and below Register the package with laravel in
config/app.php
underproviders
with the following:
NetSuiteServiceProvider - provides access to the ryanwinchester/netsuite-php WebServices Interface
NetSuiteApiProvider - provides access to the RESTlet API
Set Configuration in .env
by default, if '*_HOST' is NOT defined, the standard account specific URL, is be returned.
note (NETSUITE_ENDPOINT, NETSUITE_ACCOUNT, NETSUITE_WEBSERVICES_HOST, NETSUITE_APP_ID) needed for WebServices
note (NETSUITE_WEBSERVICES_HOST and NETSUITE_RESTLET_HOST) can be used to override as needed
using Token (account, consumer_key, consumer_secret, token, token_secret required for either WebServices or RESTlets)
note (if the sandbox or custom url is required) you can override the account specific URLs
Add values to .env which correspond to either token based authentication OR NlAuth based authentication but not both!
What if you need token for WebServices and NlAuth for RESTlets - or you need different accounts for each...
Submit a feature request as an issue or a pull request with a solution.
My experience with NetSuite is based upon a single integration, so coverage of all situations is probably not happening very well initially, but the project is public in order to obtain help in developing a more useful and time-saving solution.
Instantiate an instance of the service and make NetSuite call using the service
using a WebService
using a RESTlet
All versions of laravel7-netsuite with dependencies
ryanwinchester/netsuite-php Version ^2016.1|^v2017|^v2018
guzzlehttp/guzzle Version ^6.2