PHPackages                             packvium/native-bridge - 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. packvium/native-bridge

ActiveLibrary

packvium/native-bridge
======================

Optional FFI backend for Packvium with pure-PHP fallback

00PHPCI failing

Since Aug 14Pushed todayCompare

[ Source](https://github.com/toxakara/packvium-php-bridge)[ Packagist](https://packagist.org/packages/packvium/native-bridge)[ RSS](/packages/packvium-native-bridge/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

packvium/native-bridge
======================

[](#packviumnative-bridge)

Optional native backend for [Packvium](https://packagist.org/packages/packvium/packvium). It uses a Rust shared library through PHP FFI when one is available, and otherwise uses the pure-PHP Packvium package.

Install
-------

[](#install)

```
composer require packvium/native-bridge packvium/packvium
```

PHP 7.4 or later is required. Enable `ext-ffi` and provide a compatible shared library only when you want the native backend; neither is required for the PHP fallback.

Quick start
-----------

[](#quick-start)

```
