Add compatibility with Laravel 4.1

To include Laravel 4.1 and above