update composer.json to support laravel 4 and up