PHPackages                             n4b/n4b - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. n4b/n4b

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

n4b/n4b
=======

N4B PHP library

1.1.3(9y ago)3267MITPHPPHP ^5.6.0 || ^7.0

Since Sep 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kinobi/n4b)[ Packagist](https://packagist.org/packages/n4b/n4b)[ Docs](https://github.com/kinobi/n4b)[ RSS](/packages/n4b-n4b/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (9)Used By (0)

N4B PHP Library
===============

[](#n4b-php-library)

Simple library to quickly implement a N4B Be-App PHP backend

[![Latest Stable Version](https://camo.githubusercontent.com/ad388ea45bd65bfa938fba1d54d5c40021edaff0390be306dbe51f4dfd5b4c21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e34622f6e34622e737667)](https://packagist.org/packages/n4b/n4b)[![Build Status](https://camo.githubusercontent.com/6459330ef97980f24305073be876318bc4ed8abcdd8b9eb95afa9fd1c021ede9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b696e6f62692f6e34622f6d61737465722e737667)](https://travis-ci.org/kinobi/n4b)[![SensioLabs Insight](https://camo.githubusercontent.com/6a1a16489a06c8c2f936a4c9cfc779683960875faa05d2fa2ce3304d6b00ace4/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f35393630613962632d396538372d343432392d613731342d6232656530356334666561632e7376673f6d61784167653d32353932303030)](https://insight.sensiolabs.com/projects/5960a9bc-9e87-4429-a714-b2ee05c4feac)[![Dependencies](https://camo.githubusercontent.com/364a5b34a5c6526bce100342e0d8cb8bdaf0cb937918bfa7b28d23cf85f08923/68747470733a2f2f696d672e736869656c64732e696f2f76657273696f6e6579652f642f757365722f70726f6a656374732f3537653063353330626436666136303034653131653633342e737667)](https://www.versioneye.com/user/projects/57e0c530bd6fa6004e11e634?child=summary)[![GitHub issues](https://camo.githubusercontent.com/14657bf0eb84eb7fe5dbea49fc053e2854563b58c053b2328bb72ddb43f5402b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b696e6f62692f6e34622e737667)](https://github.com/kinobi/n4b/issues)[![License](https://camo.githubusercontent.com/f03739c0b580e74100705bfda50e1f711fafb78089cbae45300c106e5f4d5c0d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e34622f6e34622e737667)](https://packagist.org/packages/n4b/n4b)

Why ?
-----

[](#why-)

N4B PHP will allow you to concentrate your development only on your business domain. Authentication, operations dispatching, N4B Errors, formatting of the responses are handled by the library.

### What is N4B by Be-Bound ?

[](#what-is-n4b-by-be-bound-)

[Be-Bound's N4B platform](https://n4b.io) helps you develop Android applications with the possibility to **reach the Next 4 Billion** (N4B) users that are still not connected to the Internet. By integrating [Be-Bound](https://www.be-bound.com)’s SDK into your Android apps, and implementing your Be-App Webhooks, **your users will stay connected to your apps even when there is no internet**.

### Learn More about N4B by Be-Bound

[](#learn-more-about-n4b-by-be-bound)

- [N4B Documentation](http://doc.n4b.io)
- [N4B Developer Console](https://dev.n4b.io)

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

[](#installation)

N4B PHP works with PHP 5.6.0 or newer.

It's recommended that you use [Composer](https://getcomposer.org/) to install N4B PHP.

```
$ composer require n4b/n4b
```

This will install N4B PHP and all required dependencies.

Usage
-----

[](#usage)

Create an index.php file with the following contents:

```
