For packaging PHP software check https://en.opensuse.org/openSUSE:Packaging_PHP