[Guidelines changes] - Changes to PHP Guidelines.

Remi Collet Fedora at FamilleCollet.com
Fri Jun 6 08:10:52 UTC 2014


Recently approved changes in PHP Guidelines

https://fedoraproject.org/wiki/Packaging:PHP


File placement.

For consistency with PEAR packages, PECL documentation provided by
upstream are installed in %{pecl_docdir}, should stay there, and must be
marked as %doc.


C extensions and PECL packages configuration file.

Each extension should drop a configuration file in %{php_inidir} and/or
%{php_ztsinidir} to enable the extension. This file must contains the
name of the loaded extension. Starting with Fedora 21, the file must use
a numeric prefix to ensure correct load order.


Composer/packagist registered packages

PEAR is slowy dying and composer is the new de-facto standard installer
and dependency resolver.

Dependencies between composer/packagist registered packages are now
managed using the virtual provide php-composer(vendor/library).


Remi.


P.S. PHP related questions can be discussed on:
     php-devel at lists.fedoraproject.org


More information about the devel-announce mailing list