rpminfo
pecl.php.net
RPM information
Retrieve RPM information using librpm.
Available functions:
- rpmvercmp to compare 2 EVRs
- rpminfo to retrieve information from a RPM file
- rpmdbinfo to rerieve information from an installed RPM
- rpmdbsearch to search installed RPMs
Remi Collet
remi
remi@php.net
yes
2020-03-18
0.4.1
0.4.0
stable
stable
PHP 3.01
- fix build with RPM 4.12 (Fedora 21-22 only)
- add type hinting in reflection
- return NULL instead of FALSE on failure
7.0.0
1.10.0
rpminfo
2020-03-13
0.4.0
0.4.0
stable
stable
PHP 3.01
- improve search logic, use index when exists and no search mode
- add 'full' parameter to rpmdbsearch
- allow 'rpmdbinfo' to search on NEVR (instead of name only)
- first "stable" release
2020-03-12
0.3.1
0.3.0
beta
beta
PHP 3.01
- allow search by Pkgid, Hdrid, Installtid with specific input
- fix search with various other tags (Version, ...)
2020-03-12
0.3.0
0.3.0
beta
beta
PHP 3.01
- add rpmdbsearch function to search packages using
name, installed files, requires, provides...
2020-03-11
0.2.3
0.2.0
beta
beta
PHP 3.01
- fix gh#2 free allocated iterators to avoid "DB2053 Freeing read locks..." messages
2020-03-11
0.2.2
0.2.0
beta
beta
PHP 3.01
- Fix gh#1 rpmvercmp() incorrect comparison result
2018-02-12
0.2.1
0.2.0
beta
beta
PHP 3.01
- add summary in minimal information set
- retrieve array from metadata
- add RPMSENSE_* macros
2018-02-08
0.2.0
0.2.0
beta
beta
PHP 3.01
- new function:
array rpmdbinfo(string name [, bool full]);
2018-02-08
0.1.3dev
0.1.0
alpha
alpha
PHP 3.01
- first pecl release
- rpminfo(): add option to retrieve error message instead of raising a warning
2018-01-26
0.1.1
0.1.0
alpha
alpha
PHP 3.01
- fix segfault in ZTS mode
- define RPMVERSION constant
2018-01-26
0.1.0
0.1.0
beta
beta
PHP 3.01
- first release with 2 functions:
int rpmvercmp(string evr1, string evr2);
array rpminfo(string path [, bool full]);