Rust library for PHP phar format.
See the tests/reader.rs and tests/writer.rs directory for example code.
As a proof of concept, phar.rs is used to create a light webapp to view phar files from file upload.
Prerequisites:
- Rust default toolchain (1.57.0 stable, probably works with earlier versions too)
- Trunk (
cargo install trunk
)
To build the site, simply cd web
and run trunk build trunk-dev.html
for unoptimized build,
or trunk build trunk-release.html
.
See https://trunkrs.dev for more information.
W.I.P.