Added condition for installing laravel installer