PHPackages                             terremoth/php-win32-wchar - 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. terremoth/php-win32-wchar

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

terremoth/php-win32-wchar
=========================

Win32 API String support for FFI on PHP

v1.0.0(1y ago)02GPL-3.0-or-laterPHPPHP ^8.1CI failing

Since Mar 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/terremoth/php-win32-wchar)[ Packagist](https://packagist.org/packages/terremoth/php-win32-wchar)[ RSS](/packages/terremoth-php-win32-wchar/feed)WikiDiscussions main Synced 1mo ago

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

php-win32-wchar
===============

[](#php-win32-wchar)

Win32 API Wide String support for FFI on PHP

[![Test Run Status](https://github.com/terremoth/%7Bproject-url%7D/actions/workflows/workflow.yml/badge.svg?branch=main)](https://github.com/terremoth/%7Bproject-url%7D/actions/workflows/workflow.yml)[![License](https://camo.githubusercontent.com/ae7a6cec97a68707d930fd10aa201962691636b0624aaf50c2b4c44ec1333f08/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74657272656d6f74682f25374270726f6a6563742d75726c2537442e7376673f6c6f676f3d6d697426636f6c6f723d343162623133)](https://github.com/terremoth/%7Bproject-url%7D/blob/main/LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/1998b8a46a297b7452757b1399e99ec07b0e5ef70f8ee14551f19671d3044481/68747470733a2f2f706f7365722e707567782e6f72672f74657272656d6f74682f25374270726f6a6563742d75726c2537442f762f737461626c65)](https://packagist.org/packages/terremoth/%7Bproject-url%7D)[![Total Downloads](https://camo.githubusercontent.com/2a25f1e95bfedc7f53b124ee038705575deacac853db0f55bebb8e399d3ac680/68747470733a2f2f706f7365722e707567782e6f72672f74657272656d6f74682f25374270726f6a6563742d75726c2537442f646f776e6c6f616473)](https://packagist.org/packages/terremoth/%7Bproject-url%7D)[![Dynamic JSON Badge](https://camo.githubusercontent.com/eb4213f17d0377c12d16de72a061b9700a74123e48a50ab9975e45685be6ce14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d6874747073253341253246253246646973636f72642e636f6d253246617069253246696e76697465732532464a7846684d5657753832253346776974685f636f756e7473253344747275652671756572793d2532342e617070726f78696d6174655f6d656d6265725f636f756e74266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d5573657273253230546f74616c26636f6c6f723d677265656e)](https://discord.gg/JxFhMVWu82)

[![codecov](https://camo.githubusercontent.com/c6b8bf4b3795d5730bf04a474f69054e0addd228dffb70e1698a0911ce90c2f7/68747470733a2f2f636f6465636f762e696f2f6769746875622f74657272656d6f74682f25374270726f6a6563742d75726c2537442f67726170682f62616467652e7376673f746f6b656e3d253742434f565f544f4b454e253744)](https://codecov.io/github/terremoth/%7Bproject-url%7D)[![Test Coverage](https://camo.githubusercontent.com/f7ba0cc5f3f1e56deefa7d42d15674ab022ea2b05d695f25c6051550c94d44a8/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f25374243435f544f4b454e2537442f746573745f636f766572616765)](https://codeclimate.com/github/terremoth/%7Bproject-url%7D/test_coverage)[![Psalm type coverage](https://camo.githubusercontent.com/a94b229d0e257bfbacec23304d4d0e83dec01e0201b64d407365827f521498cc/68747470733a2f2f73686570686572642e6465762f6769746875622f74657272656d6f74682f25374270726f6a6563742d75726c2537442f636f7665726167652e737667)](https://shepherd.dev/github/terremoth/%7Bproject-url%7D)[![Psalm level](https://camo.githubusercontent.com/d78407fabe4c5831d4eccb92f527e3c352c8b9032513f00b7e4208ff3f305691/68747470733a2f2f73686570686572642e6465762f6769746875622f74657272656d6f74682f25374270726f6a6563742d75726c2537442f6c6576656c2e737667)](https://shepherd.dev/github/terremoth/%7Bproject-url%7D)[![Codacy Badge](https://camo.githubusercontent.com/964dd4cd36b4ad416f46a64b99a8ea86a3ba74777e458f1ceba298dd3e6f8644/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f253742434f444143595f544f4b454e)](https://app.codacy.com/gh/terremoth/%7Bproject-url%7D/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)[![Maintainability](https://camo.githubusercontent.com/d9bf9a19c30fc3804485c8290e722e92271e53cea8335bdf529045f0e4b260e5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f25374243435f544f4b454e2537442f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/terremoth/%7Bproject-url%7D/maintainability)

Installation
------------

[](#installation)

```
composer require terremoth/php-win32-wchar
```

Documentation
-------------

[](#documentation)

See [demos/demo.php](demos/demo.php) for examples.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance46

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

416d ago

### Community

Maintainers

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

---

Top Contributors

[![terremoth](https://avatars.githubusercontent.com/u/11032344?v=4)](https://github.com/terremoth "terremoth (3 commits)")

---

Tags

ffiwin32php-ffiwin32-api

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/terremoth-php-win32-wchar/health.svg)

```
[![Health](https://phpackages.com/badges/terremoth-php-win32-wchar/health.svg)](https://phpackages.com/packages/terremoth-php-win32-wchar)
```

###  Alternatives

[ffi/location

PHP library for determining the physical location of binaries

1339.8k7](/packages/ffi-location)[serafim/ffi-sdl

SDL FFI bindings for the PHP language

324.6k3](/packages/serafim-ffi-sdl)[ffi/var-dumper

List of symfony/var-dumper casters with FFI support

2010.7k4](/packages/ffi-var-dumper)

PHPackages © 2026

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