rpminfo
pecl.php.net
RPM information
Retrieve RPM information using librpm, from local RPM file or from installed packages database.
Documentation: https://www.php.net/rpminfo
Remi Collet
remi
remi@php.net
yes
2023-10-12
1.0.0
1.0.0
stable
stable
PHP-3.01
- implement rpm stream wrapper with librpm >= 4.13
8.0.0
1.10.0
rpminfo
2023-09-26
0.7.0
0.7.0
stable
stable
PHP-3.01
- add optional operator to rpmcmpver for consistency with version_compare
- drop support for PHP 7
2021-06-18
0.6.0
0.5.0
stable
stable
PHP-3.01
- generate arginfo from stub and add missing default values
- raise dependency on PHP 7.2
- raise exception on bad parameter value with PHP 8
2020-09-23
0.5.1
0.5.0
stable
stable
PHP 3.01
- split tests for PHP 7/8
- improve librpm example
2020-04-07
0.5.0
0.5.0
stable
stable
PHP 3.01
- add rpmaddtag() function
2020-03-25
0.4.2
0.4.0
stable
stable
PHP 3.01
- improve reflection with better parameter names
- speed optimization: open DB only once per request
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
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]);