composer set memory limit -1 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
COMPOSER_MEMORY_LIMIT=-1 composer require owen-it/laravel-auditing
php -d memory_limit=512M /usr/local/bin/composer update