Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngyuki/composer-curl-plugin
Composer Curl Plugin
https://github.com/ngyuki/composer-curl-plugin
Last synced: 1 day ago
JSON representation
Composer Curl Plugin
- Host: GitHub
- URL: https://github.com/ngyuki/composer-curl-plugin
- Owner: ngyuki
- License: mit
- Created: 2014-12-07T05:37:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-12T03:00:54.000Z (over 9 years ago)
- Last Synced: 2024-08-04T01:02:26.313Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 160 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-composer - Composer-Curl-Plugin - The plugin uses `phpext_curl` for downloading packages. (Plugins / Support)
README
# Composer Curl Plugin
## Install
Install plugin
```
$ composer global require ngyuki/composer-curl-plugin:dev-master
```## Example
Install symfony
```console
$ composer require symfony/symfony:\*
```Update without plugin
```console
$ rm -fr ~/.composer/cache/repo/
$ composer update --dry-run --profile --no-plugins
:
Memory usage: 92.4MB (peak: 111.41MB), time: 139.99s
```Update with plugin
```console
$ rm -fr ~/.composer/cache/repo/
$ composer update --dry-run --profile
:
Memory usage: 92.61MB (peak: 111.62MB), time: 67.21s
```## Development
Clone Repository
```console
$ git clone https://github.com/ngyuki/composer-curl-plugin.git
$ cd composer-curl-plugin
```Run composer install
```console
$ composer install
```Make composer home and install plugin
```console
$ misc/composer.php global require ngyuki/composer-curl-plugin:dev-master
```Run tcpdump in other console
```console
$ sudo tcpdump -nn 'host 87.98.253.214 and (tcp[tcpflags] & 255 == tcp-syn)'
```Install symfony
```console
$ misc/composer.php require symfony/symfony:\*
```Update without plugin
```console
$ rm -fr cache/repo/
$ misc/composer.php update --dry-run --profile --no-plugins -vvv
```Update with plugin
```console
$ rm -fr cache/repo/
$ misc/composer.php update --dry-run --profile -vvv
```