PHPackages                             nstack/laravel-sdk - 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. nstack/laravel-sdk

ActiveLibrary[API Development](/categories/api)

nstack/laravel-sdk
==================

Laravel SDK for NStack

1.0.3(6y ago)11.2k1[1 issues](https://github.com/nstack-io/laravel-sdk/issues)[3 PRs](https://github.com/nstack-io/laravel-sdk/pulls)MITPHPPHP ^7.1

Since Aug 11Pushed 2y ago5 watchersCompare

[ Source](https://github.com/nstack-io/laravel-sdk)[ Packagist](https://packagist.org/packages/nstack/laravel-sdk)[ Docs](http://nodesagency.com)[ RSS](/packages/nstack-laravel-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (5)Versions (9)Used By (0)

Laravel-sdk
===========

[](#laravel-sdk)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f1fe83cfcd0ef0b5b5d00996eef27361c2f7fb11c9c876d3b82f86f9d0f3555d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e737461636b2d696f2f6c61726176656c2d73646b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/afd1372d17cdde7578ad27c51b2b5fe6e85d67937f0745e20df64dd45c96d949/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e737461636b2d696f2f6c61726176656c2d73646b2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/?branch=master)[![Build Status](https://camo.githubusercontent.com/5b5670ed5bd614f1edf7e6e669b51977caa98fcac0f46e89103b9c5b9a8d62bf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e737461636b2d696f2f6c61726176656c2d73646b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nstack-io/laravel-sdk/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/52ae7fa3a39478ebd6e53e78113cc396b7d7f9b0abc3399444a10b2e9e4c1bdf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e737461636b2d696f2f6c61726176656c2d73646b2f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

📝 Introduction
--------------

[](#-introduction)

An API wrapper for nstack.io API

📦 Installation
--------------

[](#-installation)

To install this package you will need:

- PHP 7.1+

Run

`composer require nstack/laravel-sdk`

or setup in composer.json

`nstack/laravel-sdk: 1.0.x`

In `config/app.php` (Laravel) or `bootstrap/app.php` (Lumen) you should replace Laravel's translation service provider

```
Illuminate\Translation\TranslationServiceProvider::class,
```

by the one included in this package:

```
NStack\ServiceProvider::class
```

Setup in config/app.php

```
'providers' =>
[
    ....
    // Illuminate\Translation\TranslationServiceProvider::class
    NStack\ServiceProvider::class
]

'aliases' =>
[
    ....
    'NStack'       => NStack\Facade::class,
]
```

Copy config over from vendor/nstack/config/nstack.php to project/config/nstack.php

```
php artisan vendor:publish --provider="NStack\ServiceProvider"

```

⚙ Usage
-------

[](#-usage)

You can now call via facade, eg:

```
\NStack::getContinentsClient()->index()
```

or via global function

```
nstack()->getContinentsClient()->index()
```

or via integration with `trans()` [helper](https://laravel.com/docs/5.8/helpers#method-trans)

```
echo trans('messages.welcome');
```

All the basic fuctionality can be found in the php-sdk

Features
--------

[](#features)

```
[x] Register php-sdk in laravel provider, with Facade and global func
[x] Translate provider for localization using laravels global func: trans(key)

```

[Link here](https://github.com/nstack-io/php-sdk)

All PHP functionality can be found

[Link](https://github.com/nstack-io/php-sdk)

🏆 Credits
---------

[](#-credits)

This package is developed and maintained by the PHP team at [Monstarlab](http://monstar-lab.com)

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.1% 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 ~39 days

Total

4

Last Release

2349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f45d0e6dea98a00d4469f238042615028f85697f7d85cf08642ee9568d33a908?d=identicon)[nstack](/maintainers/nstack)

---

Top Contributors

[![Casperhr](https://avatars.githubusercontent.com/u/1279756?v=4)](https://github.com/Casperhr "Casperhr (20 commits)")[![BucekJiri](https://avatars.githubusercontent.com/u/50205667?v=4)](https://github.com/BucekJiri "BucekJiri (7 commits)")

---

Tags

laravelnstacksdkphpnstack

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nstack-laravel-sdk/health.svg)

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

PHPackages © 2026

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