allow use in laravel 4.1 - closes #6