March Packages on Packagist ########################### :category: PHP :date: 2023-03-31 04:05:00 +0300 :tags: packagist, libraries, math, bittorrent, clock, psr I'm continuing to publish useless nih junk on the Packagist: * `arokettu/arithmetic-parser `__: A very configurable arithmetic parser and calculator. You can define your own set of functions and operators. You can even disable multiplication if you want to! * `arokettu/clock `__: A set of PSR-20 clock implementations. Everyone has these implemented so why not me? :D * `arokettu/system-clock `__: All these PSR-20 clock packages usually contain a ton of clocks for testing purposes but most of the production code needs only ``new DateTimeImmutable('now')`` so I extracted SystemClock to a separate package that has only SystemClock.php and composer.json for the smallest possible package (if you don't count uglifying it js-like) * `arokettu/kilo-mega `__: This one was actually released on February but I've forgot to write about it. It's a simple formatter for metric prefixes. .. code-block:: php `__: Torrent file class got file listing classes for v1 and v2 metadata in 5.0 release.