[Solved] Composer require / Generating optimized autoload files is very slow

Updated: 14th April 2024
Tags: php composer laravel windows10

Add the whole directory of your app to Windows Defender Exclusions. You can also move your projects in the project directory and add projects to exclusion.

If you want even more speed and have SSD, you can move that project to SSD and then add to Windows Defender exclusions.

[Solved] PHP Fatal error: Allowed memory size bytes exhausted (tried to allocate 67108872 bytes) in Composer/DependencyResolver/RuleSet.php on line 83

Updated: 14th October 2022
Tags: php composer

Update laravel/installer global

Updated: 20th December 2019
Tags: php composer laravel