Skip to content

Commit a206b70

Browse files
docs: Update readme to add timeout fix for composer (#2504)
1 parent 7a95ed2 commit a206b70

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ Once composer is installed, execute the following command in your project root t
4747
composer require google/apiclient:^2.15.0
4848
```
4949

50+
If you're facing a timeout error then either increase the timeout for composer by adding the env flag as `COMPOSER_PROCESS_TIMEOUT=600 composer install` or you can put this in the `config` section of the composer schema:
51+
```
52+
{
53+
"config": {
54+
"process-timeout": 600
55+
}
56+
}
57+
```
58+
5059
Finally, be sure to include the autoloader:
5160

5261
```php

0 commit comments

Comments
 (0)