PHPackages                             kuchar/php-smart-hbase - 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. kuchar/php-smart-hbase

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

kuchar/php-smart-hbase
======================

Hbase extension

2.1.0(8y ago)511.4k1[1 issues](https://github.com/kuch4r/php-smart-hbase/issues)1MITPHPPHP &gt;=5.6

Since May 31Pushed 8y ago2 watchersCompare

[ Source](https://github.com/kuch4r/php-smart-hbase)[ Packagist](https://packagist.org/packages/kuchar/php-smart-hbase)[ RSS](/packages/kuchar-php-smart-hbase/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (5)Used By (1)

PHP HBase Lib
=============

[](#php-hbase-lib)

This lib is based on HBase Thrift and python happybase package

Usage
-----

[](#usage)

```
use kuchar\smarthbase\SmartHConnection;

$uri = "example.hbase.host.com:9090/?protocol=binary&transport=framed"
$connection = new SmartHConnection($uri);

$table = $connection->table('test');

# put one row
$table->put('row_id', ['cf:column_name' => 'value']);

# read one row
$table->row('row_id');

# put many rows row
$table->put('row_id1', ['cf:column_name' => 'value1']);
$table->put('row_id2', ['cf:column_name' => 'value2']);

# read multiple rows
$table->rows(['row_id1', 'row_id2']);

# scan table
$items = []
foreach( $table->scan() as $row => $vals) {
            $items[$row] = $vals;
}

# delete whole row
$table->delete('row_id1');

# delete column from row
$table->delete('row_id2', ['cf:column_name']);

# batch operations
$batch = new SmartHBatch($table);
$batch->put('row_id1', ['cf:column_name' => 'value1']);
$batch->put('row_id2', ['cf:column_name' => 'value2']);
$batch->send();

```

Testing
-------

[](#testing)

```
# copy default config template and set missing parameters
cp tests/phpunit.xml.dist tests/phpunit.xml

# run tests
./vendor/bin/phpunit -c tests/phpunit.xml tests

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~221 days

Total

4

Last Release

3017d ago

Major Versions

v0.1-beta → 1.0.02017-10-24

1.0.0 → 2.0.02018-02-28

PHP version history (2 changes)v0.1-betaPHP &gt;=5.3

2.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8859134?v=4)[Paweł Kucharski](/maintainers/kuch4r)[@kuch4r](https://github.com/kuch4r)

---

Top Contributors

[![kuch4r](https://avatars.githubusercontent.com/u/8859134?v=4)](https://github.com/kuch4r "kuch4r (9 commits)")

---

Tags

extensionshbase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kuchar-php-smart-hbase/health.svg)

```
[![Health](https://phpackages.com/badges/kuchar-php-smart-hbase/health.svg)](https://phpackages.com/packages/kuchar-php-smart-hbase)
```

###  Alternatives

[reactivex/rxphp

Reactive extensions for php.

1.7k3.3M53](/packages/reactivex-rxphp)[flarum/extension-manager

An extension manager to install, update and remove extension packages from the interface (Wrapper around composer).

11220.3k](/packages/flarum-extension-manager)[abm/sassphp

PHP bindings to libsass - fast, native Sass parsing in PHP!

559.2k](/packages/abm-sassphp)[bnomei/autoloader-for-kirby

Helper to automatically load various Kirby extensions in a plugin

185.7k2](/packages/bnomei-autoloader-for-kirby)

PHPackages © 2026

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