Skip to content

Commit

Permalink
docs: Update readme to add timeout fix for composer (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
saranshdhingra committed Dec 15, 2023
1 parent 7a95ed2 commit a206b70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ Once composer is installed, execute the following command in your project root t
composer require google/apiclient:^2.15.0
```

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:
```
{
"config": {
"process-timeout": 600
}
}
```

Finally, be sure to include the autoloader:

```php
Expand Down

0 comments on commit a206b70

Please sign in to comment.