PHP Multipurpose libraries