PHPackages                             shanliu/zxing\_cpp - 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. shanliu/zxing\_cpp

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

shanliu/zxing\_cpp
==================

zxing-cpp wrappers for php extension,replace the QR-code from the image

302C

Since Apr 8Pushed 4y agoCompare

[ Source](https://github.com/shanliu/zxing_cpp)[ Packagist](https://packagist.org/packages/shanliu/zxing_cpp)[ RSS](/packages/shanliu-zxing-cpp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### zxing-cpp wrappers for php extension

[](#zxing-cpp-wrappers-for-php-extension)

> ZXing-C++,more detail see:

> support php &gt;=7.0

> API doc: [zxing\_cpp.php](./zxing_cpp.php)

> tutorial : [see examples](./examples)

> windows dll : [dll/php\_zxing\_cpp\_php8.\*.dll](./dll) `Tips:` Download according to the PHP version you use,only PHP &gt; 8 and x64 has been compiled. other versions can be compiled according to the following documents

#### build for linux or mac

[](#build-for-linux-or-mac)

```
cd zxing_cpp # go to your `shanliu/zxing_cpp` src dir
git clone --progress -v --depth 1 https://github.com/nothings/stb stb-src
git clone --progress -v --depth 1 https://github.com/nu-book/zxing-cpp zxing-cpp-src
cd zxing-cpp-src && cmake . && make && make install && cd .. # Maybe you set prefix??
phpize && ./configure --with-stb-dir=stb-src # ./configure --help see more config
make && make install
```

#### build for windows

[](#build-for-windows)

> load build env and build

```
open [x64|x86] Native Tools Command Prompt for VS 2019 build env #need use >=vs2019
load PHP build env \your-php-sdk-binary-tools-dir\bin\phpsdk_setvars.bat

```

```
cd zxing_cpp #download `shanliu/zxing_cpp` to ext/zxing_cpp and go to the zxing_cpp dir
win_dep.cmd #download lib
cd your_php_src # go to your php src dir
buildconf.bat
configure --disable-all --enable-cli --enable-zxing_cpp=shared
nmake
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 93.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ae37fbaae90feca6062a7ef91796c75c8e957ff027eed32a0de47cf411e25f7?d=identicon)[shanliu](/maintainers/shanliu)

---

Top Contributors

[![shanliu](https://avatars.githubusercontent.com/u/2927231?v=4)](https://github.com/shanliu "shanliu (14 commits)")[![php-lsys](https://avatars.githubusercontent.com/u/43031308?v=4)](https://github.com/php-lsys "php-lsys (1 commits)")

---

Tags

phpzxingzxing-cpp

### Embed Badge

![Health badge](/badges/shanliu-zxing-cpp/health.svg)

```
[![Health](https://phpackages.com/badges/shanliu-zxing-cpp/health.svg)](https://phpackages.com/packages/shanliu-zxing-cpp)
```

###  Alternatives

[fbf/laravel-youtube

A Laravel package to upload videos to a YouTube channel

944.2k](/packages/fbf-laravel-youtube)[quadrubo/filament-model-settings

This is my package filament-model-settings

1637.5k](/packages/quadrubo-filament-model-settings)[typicms/bootforms

Just a Formbuilder with some Bootstrap 5 specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.

1256.0k2](/packages/typicms-bootforms)[zmoyi/jstan

聚水潭-php-sdk

153.8k1](/packages/zmoyi-jstan)

PHPackages © 2026

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