Composer Memory Limit Code Example


Example 1: composer allowed memory size


COMPOSER_MEMORY_LIMIT=-1 composer require owen-it/laravel-auditing

Example 2: composer memory limit


php -d memory_limit=512M /usr/local/bin/composer update

Example 3: composer update withou memory limit


php -d memory_limit=-1 path_to_composer.phar_that_threw_the_error update

Example 4: composer allowed memory size


export COMPOSER_MEMORY_LIMIT=-1

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable