PHPackages                             ncmbmania/php-ncmb - 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. ncmbmania/php-ncmb

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

ncmbmania/php-ncmb
==================

PHP SDK for NIFCLOUD mobile backend (NCMB)

0.1.1(8y ago)15403[2 PRs](https://github.com/NCMBMania/php-ncmb/pulls)MITPHP

Since May 19Pushed 7y ago4 watchersCompare

[ Source](https://github.com/NCMBMania/php-ncmb)[ Packagist](https://packagist.org/packages/ncmbmania/php-ncmb)[ RSS](/packages/ncmbmania-php-ncmb/feed)WikiDiscussions master Synced 4d ago

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

PHP SDK for 'NIFCLOUD mobile backend'
=====================================

[](#php-sdk-for-nifcloud-mobile-backend)

php-ncmb: Unofficial PHP SDK for [NIFCLOUD mobile backend (NCMB)](http://mb.cloud.nifty.com/).

Install
-------

[](#install)

Add line into 'require' section of your 'composer.json':

```
     "ncmbmania/php-ncmb": "*"
```

then hit command:

```
  $ composer install

```

Initialize
----------

[](#initialize)

```
    use Ncmb\NCMB;

    $appkey = YOUR_APPLICATION_KEY;
    $clientkey = YOUR_CLIENT_KEY;

    NCMB::initialize($appkey, $clientkey);
```

Store data
----------

[](#store-data)

```
    use Ncmb\Object;
    use NCMB\GeoPoint;

    $className = 'FooBar';
    $foobar = new Object($className);
    $foobar->stringKey = 'This is String';
    $foobar->intKey = 1;
    $foobar->dateKey = new DateTime();
    $foobar->geoKey = new GeoPoint(43.223, 133.392);
    $foobar->save();
```

Find data
---------

[](#find-data)

```
    use \Ncmb\Query;

    $className = 'FooBar';
    $query = new Query($className);
    $query->equalTo('intKey', 1);
    $foundObj = $query->first();
```

File
----

[](#file)

```
    use \Ncmb\File;

    // put file
    $file = File::createFromData('hogehoge', 'hoge.txt');
    $file->save();

    // get file
    $file = File::createFromServer('hoge.txt');
    $data = $file->getData();
```

Script
------

[](#script)

```
    use \Ncmb\Script;

    $result = Script::execute('hello.js', ['query' => ['name' => 'NCMB']]);
```

LICENSE
-------

[](#license)

MIT LICENSE. see also LICENSE file.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.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 ~0 days

Total

2

Last Release

3283d ago

### Community

Maintainers

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

---

Top Contributors

[![koyhoge](https://avatars.githubusercontent.com/u/49316?v=4)](https://github.com/koyhoge "koyhoge (106 commits)")[![ykagata](https://avatars.githubusercontent.com/u/1324116?v=4)](https://github.com/ykagata "ykagata (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ncmbmania-php-ncmb/health.svg)

```
[![Health](https://phpackages.com/badges/ncmbmania-php-ncmb/health.svg)](https://phpackages.com/packages/ncmbmania-php-ncmb)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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