rpminfo

RPM information


Retrieve RPM information using librpm, from local RPM file or from installed packages database.

Documentation: https://www.php.net/rpminfo

License: PHP-3.01

Latest releases

Version Release Download
1.2.1 2025-09-25 rpminfo-1.2.1.tgz
1.2.0 2024-12-19 rpminfo-1.2.0.tgz
1.1.1 2024-09-03 rpminfo-1.1.1.tgz
1.1.0 2023-11-10 rpminfo-1.1.0.tgz
1.0.1 2023-10-13 rpminfo-1.0.1.tgz
Show all releases

Changelog

Version Message
1.2.1 - use RPMTAG_SIGMD5 instead of RPMTAG_PKGID removed in RPM 6
- use RPMTAG_SHA1HEADER instead of RPMTAG_HDRID removed in RPM 6
1.2.0 - add rpmexpand, rpmexpandnumeric to retrieve rpm macro value
- add rpmdefine to set rpm macro value
1.1.1 - display author and license in phpinfo
- drop support for librpm < 4.13
1.1.0 - check open_basedir restriction
- new function: rpmgetsymlink(string $path, string $name): ?string
1.0.1 - fix stack smashing on 32-bit
- allow retrieval of hardlink content
Show complete changelog