PHPackages                             sithous/netsuitebundle - 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. sithous/netsuitebundle

ActiveSymfony-bundle[API Development](/categories/api)

sithous/netsuitebundle
======================

Provides NetSuite PHPToolkit API inside your Symfony2 application

1.0(8y ago)11771[2 PRs](https://github.com/Sithous/NetSuiteBundle/pulls)MITPHPPHP &gt;=5.3.2

Since Dec 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Sithous/NetSuiteBundle)[ Packagist](https://packagist.org/packages/sithous/netsuitebundle)[ Docs](http://github.com/sithous)[ RSS](/packages/sithous-netsuitebundle/feed)WikiDiscussions master Synced 1mo ago

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

Netsuite implmentation for Symfony. The orginal source and samples can be found here:

The license for the Netsuite PHP ToolKit is located at [NetSuite/NetSuite Toolkit License Agreement.docx](https://github.com/Sithous/NetSuiteBundle/blob/master/NetSuite/NetSuite%20Toolkit%20License%20Agreement.docx "Title")

\#Installation

using composer add the line below to your require section:

```
"sithous/netsuitebundle": "dev-master"

```

then

```
composer.phar update

```

Add the bundle to your AppKernel.php file

```
new Sithous\NetSuiteBundle\SithousNetSuiteBundle(),

```

Next you will copy and append these parameters to your app/config/parameters.yml and edit them appropriately:

```
    netsuite.host:      "https://webservices.netsuite.com"
    netsuite.email:     "email@example.com"
    netsuite.password:  "your_password"
    netsuite.role:      "3"
    netsuite.account:   "12345"

```

We also recommend doing the exact same information into the app/config/parameters.yml.dist WITHOUT your creds so you can set them up when doing an initial install (such as deploying to production server).

I will do my best to keep this bundle up-to-date with the Symfony and NetSuite toolkit changes. But I am human and only have so much time. Feel free to contribute, the more the better.

\#Usage Inside your controller simply initialize using this command

```
$this->container->get('sithous.netsuite');

```

After you have initialized you can use the classes anywhere by adding it to your uses:

```
class MyController extends Controller {

	public function indexAction() {

		$this->container->get('sithous.netsuite');

		$service = new \NetSuiteService();

		$request = new \GetRequest();
		$request->baseRef = new \RecordRef();
		$request->baseRef->internalId = "21";
		$request->baseRef->type = "customer";
		$getResponse = $service->get($request);

		if (!$getResponse->readResponse->status->isSuccess) {
		    echo "GET ERROR";
		} else {
		    $customer = $getResponse->readResponse->record;
		    echo "GET SUCCESS, customer:";
		    echo "\nCompany name: ". $customer->companyName;
		    echo "\nInternal Id: ". $customer->internalId;
		    echo "\nEmail: ". $customer->email;
		}
	}
}

```

Further reading
===============

[](#further-reading)

You can find the toolkit documentation here:

\#License This bundle comes with dual licenses. One for the bundle itself and another for the NetSuite PHP ToolKit. You should review both licenses before using this bundle. Everything inside the NetSuite folder is code that is originally from the NetSuite PHP ToolKit that has been modified to work with this bundle and Symfony.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3073d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76c72b14bf061b6d22199f094bf67174f3963aec7741e3d823466ddb3ebf741c?d=identicon)[skylord123](/maintainers/skylord123)

---

Top Contributors

[![skylord123](https://avatars.githubusercontent.com/u/3412313?v=4)](https://github.com/skylord123 "skylord123 (10 commits)")

---

Tags

apisymfonySymfony2netsuitephptoolkit

### Embed Badge

![Health badge](/badges/sithous-netsuitebundle/health.svg)

```
[![Health](https://phpackages.com/badges/sithous-netsuitebundle/health.svg)](https://phpackages.com/packages/sithous-netsuitebundle)
```

###  Alternatives

[nilportugues/jsonapi-bundle

Symfony 2 &amp; 3 JSON API Transformer Package

11446.0k](/packages/nilportugues-jsonapi-bundle)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)[borsaco/telegram-bot-api-bundle

A simple wrapper for telegram-bot-api.

5633.0k](/packages/borsaco-telegram-bot-api-bundle)[nanofelis/json-rpc-bundle

This bundle provides a JSON RPC 2.0 implementation for Symfony

1176.1k](/packages/nanofelis-json-rpc-bundle)[ufo-tech/json-rpc-sdk-bundle

The Symfony bundle for simple usage Json-RPC api with dynamic SDK

172.5k](/packages/ufo-tech-json-rpc-sdk-bundle)

PHPackages © 2026

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