Skip to content

LibCommons

ImperaZim edited this page Jun 28, 2026 · 1 revision

LibCommons

LibCommons is the official shared utility library for EasyLibrary 3.x.

It replaces the old pure utility helpers that used to live inside the EasyLibrary core, while keeping the 3.x core small enough to boot, repair config and install packages without depending on a large embedded utility layer.

Package

Field Value
Package id libcommons
Plugin name LibCommons
Namespace imperazim\commons
Package type classpath

Main Areas

  • imperazim\commons\collection\Arr
  • imperazim\commons\filesystem\DataFile
  • imperazim\commons\filesystem\FileSystem
  • imperazim\commons\filesystem\Path
  • imperazim\commons\number\Number
  • imperazim\commons\text\Text
  • imperazim\commons\time\Clock
  • imperazim\commons\time\Duration
  • imperazim\commons\time\KeyCooldown
  • imperazim\commons\validation\Validator

Install Through EasyLibrary

/easylibrary packages bootstrap
/easylibrary packages bootstrap confirm

Or install it directly:

/easylibrary packages install libcommons stable confirm

Restart, then validate:

/easylibrary packages doctor
/easylibrary doctor
elprobe libcommons
elprobe run libcommons

Migration Note

Old EasyLibrary 2.x helpers such as components\utils\Text, components\utils\Number, components\utils\TimeUtils, components\utils\ValidationUtils, components\filesystem\File and components\filesystem\Path should move to LibCommons or to direct PMMP APIs depending on the use case.

Clone this wiki locally