PHPackages                             nguyentn/netsuite-laravel - 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. [API Development](/categories/api)
4. /
5. nguyentn/netsuite-laravel

ActiveLibrary[API Development](/categories/api)

nguyentn/netsuite-laravel
=========================

NetSuite PHP laravel provider wrapper

1.0.1(3y ago)011Apache-2.0PHPPHP ^7.2.5|^8

Since May 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ntnfit/netsuite-web)[ Packagist](https://packagist.org/packages/nguyentn/netsuite-laravel)[ RSS](/packages/nguyentn-netsuite-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

netsuite-laravel
================

[](#netsuite-laravel)

[![License](https://camo.githubusercontent.com/81dc76799bc7e606602ddc16e675434b21d37748d45be59a6030eccfbd64f80b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7279616e77696e636865737465722f6e657473756974652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ryanwinchester/netsuite-php)

A PHP supplemental package to the `ryanwinchester/netsuite-php` package to add the NetSuite service client to the service container of a [Laravel](https://www.laravel.com) application. This package should be considered to be beta software for the time being.

- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Support](#support)

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

[](#installation)

```
composer require nguyentn/netsuite-laravel

```

Configuration
-------------

[](#configuration)

By default, the configuration will assume you have your `$_ENV` populated with netsuite configuration keys laid out in the `netsuite-php` package. Read the included `config/netsuite.php` file as it is documented with inline comments.

Go to [the netsuite-php quickstart](https://github.com/ntnfit/netsuite-php#quickstart)section for more details. You can jump directly to the [.env.example](https://github.com/ntnfit/netsuite-php/blob/master/.env.example)file to save time.

#### Publishing the config file

[](#publishing-the-config-file)

If for whatever reason you don't want to use the `.env` method of configuring the NetSuite service in your application, you can also publish the provided config file into your Laravel application and modify it as desired.

```
php artisan vendor:publish --provider=NetSuite\\Providers\\NetSuiteServiceProvider

```

Usage
-----

[](#usage)

Once installed, you should be able to access the netsuite service in the usual ways that you might get an object from the service container, either by the full service class name or using the alias provided, or by using the provided Facade, if preferred.

#### Get from the service container using the long form method

[](#get-from-the-service-container-using-the-long-form-method)

```
$service = app(NetSuite\NetSuiteService::class);
$response = $service->get($request);
```

#### Get from the service container using the alias

[](#get-from-the-service-container-using-the-alias)

```
$service = app('netsuite');
$response = $service->get($request);
```

#### Get from the Facade accessor

[](#get-from-the-facade-accessor)

```
$response = NetSuite::get($request);
```

#### Dependency Injection

[](#dependency-injection)

You can also use Laravel's dependency injection. This imaginary Http controller provides a theoretical demonstration.

```
namespace App\Http\Controllers;

use NetSuite\Classes\GetRequest;
use NetSuite\Classes\RecordRef;
use NetSuite\Classes\RecordType;
use NetSuite\NetSuiteService;

class LookupController extends Controller
{
    public function lookupCustomer(NetSuiteService $service, int $internalId)
    {
        $request = new GetRequest();
        $request->baseRef = new RecordRef();
        $request->baseRef->type = RecordType::customer;
        $request->baseRef->internalId = $internalId;
        $response = $service->get($request);
    }
}
```

.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1100d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a910f79f8b862eceb403fdfe3b746168a9eaae4e573cf58f6c75f3d4c2b9168?d=identicon)[ntnfit](/maintainers/ntnfit)

---

Top Contributors

[![devharrynguyen](https://avatars.githubusercontent.com/u/154945066?v=4)](https://github.com/devharrynguyen "devharrynguyen (3 commits)")[![ntnfit](https://avatars.githubusercontent.com/u/58658850?v=4)](https://github.com/ntnfit "ntnfit (1 commits)")

---

Tags

phpapilaravelnetsuite

### Embed Badge

![Health badge](/badges/nguyentn-netsuite-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/nguyentn-netsuite-laravel/health.svg)](https://phpackages.com/packages/nguyentn-netsuite-laravel)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[netsuitephp/netsuite-laravel

NetSuite PHP laravel provider wrapper

11201.0k](/packages/netsuitephp-netsuite-laravel)[jeroen-g/flickr

Modern PHP package to make Flickr API calls. Ships with Laravel implementation.

2559.9k2](/packages/jeroen-g-flickr)[exlo89/laravel-sevdesk-api

A helpful Sevdesk API client for Laravel.

1116.5k](/packages/exlo89-laravel-sevdesk-api)[dystcz/lunar-api

Dystore API layer for Lunar e-commerce package

411.1k3](/packages/dystcz-lunar-api)[yxx/laravel-quick

agile development

145.3k](/packages/yxx-laravel-quick)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
