Updated package to work with modern PHP frameworks
Added travis badge