Skip to content

Instantly share code, notes, and snippets.

@refo
Last active August 29, 2015 14:26
Show Gist options
  • Save refo/133949528eed1d0d5e32 to your computer and use it in GitHub Desktop.
Save refo/133949528eed1d0d5e32 to your computer and use it in GitHub Desktop.

Ignore Platform Requirements

Bypass PHP version, extension requirement, etc.

When trying to install "laravel/framework" : "~5.0" (which is currently Laravel 5.1.*) on a GoDaddy server, i keep ended up installing Laravel 5.0.* because while Godaddy supports PHP-CGI 5.5, they only support PHP-CLI 5.4.* on my server and composer is not working using PHP-CGI. To bypass requirements check on an enviroment where you sure requirements are already met, use composer with the following switch.

composer install --ignore-platform-reqs

Refresh autoloader

composer dump-autoload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment