support laravel4.2.x