PHPackages                             wenstudioasia/zinc-php - 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. wenstudioasia/zinc-php

ActiveLibrary

wenstudioasia/zinc-php
======================

zinc search engine PHP SDK

0.1.0(3y ago)6712MITPHP

Since Sep 13Pushed 2y ago2 watchersCompare

[ Source](https://github.com/wenstudioasia/zinc-php)[ Packagist](https://packagist.org/packages/wenstudioasia/zinc-php)[ RSS](/packages/wenstudioasia-zinc-php/feed)WikiDiscussions dev Synced 1mo ago

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

zinc-php
========

[](#zinc-php)

PHP SDK for [zincsearch](https://github.com/zincsearch/zincsearch).

This package was first developed for private usage.

Development environment:

- OS : Arch Linux 64bit Kernal v6.3.6
- PHP: v7.2
- Composer: v2.5.8
- ZincSearch server: v0.4.7
- Editor: VSCode

Install
-------

[](#install)

```
composer require wenstudioasia/zinc-php
```

Usage
-----

[](#usage)

@see /tests || @see source files in /src || @see official document

A piece of quite simple code:

```
use Wenstudio\ZincPhp\Zinc;

// client
$client = new Zinc('http://localhost:4080', 'admin', '123456');

$client->index_create('member');
$client->doc_create('member',['name'=>'Joe', 'age'=>20, 'role'=>'solider']);
$client->doc_create_with_id('address', 201, ['location'=>'somewhere']);
$client->search('test', 'Joe');
```

Test
----

[](#test)

```
# install zincsearch 0.4.7 (latest today)
# go to https://github.com/zincsearch/zincsearch/releases

# start zincsearch
cd /path/to/zincsearch
mkdir data
ZINC_FIRST_ADMIN_USER=admin ZINC_FIRST_ADMIN_PASSWORD=aa123456 ./zincsearch

cd /path/to/zinc-php
# install dependencies
# should pre-install needed php extensions like php-tokenizer php-dom(unittest)
composer update
ln -s vendor/phpunit/phpunit/phpunit phpunit

# make some modifications to Test*.php
./phpunit tests/TestApi.php
```

NOTICE
------

[](#notice)

All interfaces are not stable, most likely would be changed in the future.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cdba4f102c449a70c585ff7fe6ea30e6801a9f7ee078ea6e92b89a0b50ac58a?d=identicon)[wenstudioasia](/maintainers/wenstudioasia)

---

Top Contributors

[![wenstudioasia](https://avatars.githubusercontent.com/u/90948449?v=4)](https://github.com/wenstudioasia "wenstudioasia (6 commits)")

---

Tags

zincZincSearchzinc-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wenstudioasia-zinc-php/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[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)
