When trying to update the Laravel installer using Composer, a content length mismatch exception may occur. This error is because the composer repository key for the packagist has changed from “packagist” (prior to composer V1.2.3) to “packagist.org”: Solution to this error, just change the composer default repo url: composer config -g repo.packagist composer https://packagist.org composerContinue reading “Composer: Content-Length mismatch, received 372 bytes out of the expected 291742”