Skip to content

LibAssets

ImperaZim edited this page Jun 28, 2026 · 1 revision

LibAssets

LibAssets is the official EasyLibrary asset helper library.

Repository:

https://github.com/ImperaZim/LibAssets

Package id:

libassets

Namespace:

imperazim\assets

What It Provides

  • Asset manifests with relative paths, byte size and SHA-256 hashes.
  • Manifest-vs-disk validation for missing, changed and extra files.
  • Bedrock resource-pack manifest.json parsing and validation.
  • Resource-pack directory and ZIP validation.
  • Resource-pack ZIP building when the PHP runtime supports ZipArchive or writable PharData.

LibAssets does not download remote files. Use LibHttp for HTTP/download work, then use LibAssets to validate and package the local files.

Install As Package

/easylibrary packages install libassets development confirm

Restart and validate:

/easylibrary packages doctor
/elprobe libassets
/elprobe run libassets

Expected package-backed source:

libassets / LibAssets: class=yes plugin=package-backed-plugin source=package-backed-plugin

Clone this wiki locally