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(9y 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 2w 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 52% 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

3331d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20108190?v=4)[ncmbmania](/maintainers/ncmbmania)[@NCMBMania](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k40](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[shlinkio/shlink

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

5.1k5.2k](/packages/shlinkio-shlink)

PHPackages © 2026

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