All Projects → sj-i → php-fuse

sj-i / php-fuse

Licence: MIT license
PHP FFI bindings for libfuse

Programming Languages

PHP
23972 projects - #3 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to php-fuse

php-ffi-rust
PHP7.4 + Rust
Stars: ✭ 28 (-47.17%)
Mutual labels:  ffi, php-ffi
php-rdkafka-ffi
PHP Kafka client - binding librdkafka via FFI
Stars: ✭ 49 (-7.55%)
Mutual labels:  ffi, php-ffi
ext-psi
PHP System Interface (aka FFI)
Stars: ✭ 24 (-54.72%)
Mutual labels:  ffi, php-ffi
UserFileSystemSamples
IT Hit User File System Engine samples in .NET/C#. Samples implement Virtual File System for Windows and Mac with synchronization support, on-demand loading, offline files, and Windows File Manager integration.
Stars: ✭ 60 (+13.21%)
Mutual labels:  fuse
hatexmpp
fuse xmpp client (xmppfs). The development stopped, you may like https://github.com/l29ah/hatexmpp3
Stars: ✭ 26 (-50.94%)
Mutual labels:  fuse
ocamlfuse
OCamlFuse mirror with dune support
Stars: ✭ 23 (-56.6%)
Mutual labels:  fuse
react-native-fast-openpgp
OpenPGP for react native made with golang for fast performance
Stars: ✭ 29 (-45.28%)
Mutual labels:  ffi
darknet
php ffi darknet
Stars: ✭ 21 (-60.38%)
Mutual labels:  php-ffi
rid-examples
Examples showing how to use Rid in order to build Dart/Flutter apps integrated with Rust.
Stars: ✭ 191 (+260.38%)
Mutual labels:  ffi
rdp
A library providing FFI access to fast Ramer–Douglas–Peucker and Visvalingam-Whyatt line simplification algorithms
Stars: ✭ 20 (-62.26%)
Mutual labels:  ffi
clamfs
ClamFS is a FUSE-based user-space file system for Linux and BSD with on-access anti-virus file scanning
Stars: ✭ 29 (-45.28%)
Mutual labels:  fuse
sqlite3
The fastest and correct module for SQLite3 in Deno.
Stars: ✭ 143 (+169.81%)
Mutual labels:  ffi
JitFFI
A fast and customizable JIT compiler for FFI (Foreign-Function Interface).
Stars: ✭ 45 (-15.09%)
Mutual labels:  ffi
yajl-ffi
Ruby FFI bindings to the native YAJL streaming JSON parser.
Stars: ✭ 15 (-71.7%)
Mutual labels:  ffi
ffi-sdl
PHP FFI SDL bindings
Stars: ✭ 23 (-56.6%)
Mutual labels:  ffi
crfsuite-rs
Rust binding to crfsuite
Stars: ✭ 19 (-64.15%)
Mutual labels:  ffi
blahajfs
No description or website provided.
Stars: ✭ 19 (-64.15%)
Mutual labels:  fuse
rust-fuse
A FUSE server implementation for Rust.
Stars: ✭ 26 (-50.94%)
Mutual labels:  fuse
r6rs-pffi
Portable Foreign Function Interface (FFI) for R6RS
Stars: ✭ 40 (-24.53%)
Mutual labels:  ffi
luufs
Lazy man's, user-mode union file system
Stars: ✭ 28 (-47.17%)
Mutual labels:  fuse

php-fuse

Minimum PHP version: 7.4.0 Packagist Github Actions Scrutinizer Code Quality Coverage Status Psalm coverage stability-experimental

PHP FFI bindings for libfuse.

You can write your own filesystems in PHP.

Installation

composer require sj-i/php-fuse

Requirements

  • PHP 7.4+ (NTS / ZTS)
  • 64bit Linux x86_64
  • FFI extension
  • libfuse(currently based on 2.9.9)

Documentation

  • Currently, no documentation is provided. :-(
  • If you want to write a filesystem in PHP by using this library, see examples in this repository and the libfuse API documentation for now.

Todo

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

LICENSE

  • MIT

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].