PHPackages                             sj-i/php-fuse - 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. sj-i/php-fuse

ActiveLibrary

sj-i/php-fuse
=============

PHP FFI bindings for FUSE

v0.3.0(4y ago)641.7k5[14 issues](https://github.com/sj-i/php-fuse/issues)[12 PRs](https://github.com/sj-i/php-fuse/pulls)2MITPHPPHP ^7.4|^8.0

Since Dec 27Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/sj-i/php-fuse)[ Packagist](https://packagist.org/packages/sj-i/php-fuse)[ RSS](/packages/sj-i-php-fuse/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (8)Versions (17)Used By (2)

php-fuse
========

[](#php-fuse)

[![Minimum PHP version: 7.4.0](https://camo.githubusercontent.com/89e54687773afb25f5943cfbd66376d73e2ce50874c54429a78aac45cb6bcf84/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342e302532422d626c75652e737667)](https://camo.githubusercontent.com/89e54687773afb25f5943cfbd66376d73e2ce50874c54429a78aac45cb6bcf84/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342e302532422d626c75652e737667)[![Packagist](https://camo.githubusercontent.com/2200cedbd2642a14ec7195b3bf64245c60e2e67c905033ece1a9050d2a8ef98d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736a2d692f7068702d667573652e737667)](https://packagist.org/packages/sj-i/php-fuse)[![Github Actions](https://github.com/sj-i/php-fuse/workflows/build/badge.svg)](https://github.com/sj-i/php-fuse/actions)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bc100f9e2eccd9d5b054a47192a5b23fafa0d2febdb3d162cf6503c4c574c323/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736a2d692f7068702d667573652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sj-i/php-fuse/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/5d1be76621b0bd3b098d2a1dbefa00671ad7465ae0a69093cbbca93425540dc4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736a2d692f7068702d667573652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sj-i/php-fuse?branch=master)[![Psalm coverage](https://camo.githubusercontent.com/37f3f3576b9c1ed2037920511879435bbac31addb7455c1069e692a2fc3c532a/68747470733a2f2f73686570686572642e6465762f6769746875622f736a2d692f7068702d667573652f636f7665726167652e7376673f)](https://camo.githubusercontent.com/37f3f3576b9c1ed2037920511879435bbac31addb7455c1069e692a2fc3c532a/68747470733a2f2f73686570686572642e6465762f6769746875622f736a2d692f7068702d667573652f636f7665726167652e7376673f)[![stability-experimental](https://camo.githubusercontent.com/0daa00e91aa931aeb2d321edc5a2ce6fe8fb4037fc35c084c4a01cde1621ac98/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d6578706572696d656e74616c2d6f72616e67652e737667)](https://camo.githubusercontent.com/0daa00e91aa931aeb2d321edc5a2ce6fe8fb4037fc35c084c4a01cde1621ac98/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d6578706572696d656e74616c2d6f72616e67652e737667)

PHP FFI bindings for [libfuse](https://github.com/libfuse/libfuse).

You can write your own filesystems in PHP.

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

[](#installation)

```
composer require sj-i/php-fuse
```

Requirements
------------

[](#requirements)

- PHP 7.4+ (NTS / ZTS)
- 64bit Linux x86\_64
- FFI extension
- libfuse(currently based on 2.9.9)

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

[](#documentation)

- Currently, no documentation is provided. :-(
- If you want to write a filesystem in PHP by using this library, see [examples](https://github.com/sj-i/php-fuse/tree/master/example) in this repository and [the libfuse API documentation](https://libfuse.github.io/doxygen/index.html) for now.

Todo
----

[](#todo)

- bump libfuse to 3.9
- add more tests
- add documentation
- support multithreading

LICENSE
-------

[](#license)

- MIT

Example
-------

[](#example)

```
mkdir /tmp/example
php example/dummy_file.php
```

```
$ ls -la /tmp/example/
total 180
drwxr-xr-x  2 sji  sji       0  1月  1  1970 .
drwxrwxrwt 25 root root 180224 12月 28 07:14 ..
-rwxrwxrwx  1 sji  sji      20  1月  1  1970 example
$ cat /tmp/example/example
hello FUSE from PHP
$ umount /tmp/example
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance50

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.8% 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 ~82 days

Total

4

Last Release

1718d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6488121?v=4)[sji](/maintainers/sj-i)[@sj-i](https://github.com/sj-i)

---

Top Contributors

[![sj-i](https://avatars.githubusercontent.com/u/6488121?v=4)](https://github.com/sj-i "sj-i (109 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (6 commits)")

---

Tags

ffifusephpphp-ffiphpffifuse

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sj-i-php-fuse/health.svg)

```
[![Health](https://phpackages.com/badges/sj-i-php-fuse/health.svg)](https://phpackages.com/packages/sj-i-php-fuse)
```

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

9230.2k4](/packages/bitrix24-b24phpsdk)[comgate/sdk

Comgate PHP SDK

13327.8k](/packages/comgate-sdk)

PHPackages © 2026

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