PHPackages                             wubs/ns-api - 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. wubs/ns-api

ActiveLibrary[API Development](/categories/api)

wubs/ns-api
===========

Communicates with the NS api

1.0.0(8y ago)3481PHPPHP &gt;=7.0

Since Apr 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/megawubs/ns-api)[ Packagist](https://packagist.org/packages/wubs/ns-api)[ RSS](/packages/wubs-ns-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

ns-api
======

[](#ns-api)

Laravel ns-api wrapper

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

[](#installation)

In your project root, type:

```
$ composer require wubs/ns-api
```

After it is installed, add `'Wubs\NS\NSServiceProvider',` to `app/config.php` in the providers array and add `'NS' => 'Wubs\NS\Facades\NS',` to the aliases array, also in `app/config.php`.

Laravel usage
-------------

[](#laravel-usage)

### Train Stations

[](#train-stations)

Receive a collection of all the train stations:

```
