updated composer.json with php extensions;
bugfix for newer php versions (don't sure which version)