--no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question
 --profile             Display timing and memory usage information
 --working-dir (-d)    If specified, use the given directory as working director
y.
Available commands:
 about            Short information about Composer
 archive          Create an archive of this composer package
 browse           Opens the package's repository URL or homepage in your browser
.
 clear-cache      Clears composer's internal package cache.
 clearcache       Clears composer's internal package cache.
 config           Set config options
 create-project   Create new project from a package into given directory.
 depends          Shows which packages depend on the given package
 diagnose         Diagnoses the system to identify common errors.
 dump-autoload    Dumps the autoloader
 dumpautoload     Dumps the autoloader
 global           Allows running commands in the global composer dir ($COMPOSER_
HOME).
 help             Displays help for a command
 home             Opens the package's repository URL or homepage in your browser
.
 info             Show information about packages
 init             Creates a basic composer.json file in current directory.
 install          Installs the project dependencies from the composer.lock file
if present, or falls back on the composer.json.
 licenses         Show information about licenses of dependencies
 list             Lists commands
 remove           Removes a package from the require or require-dev
 require          Adds required packages to your composer.json and installs them
run-script       Run the scripts defined in composer.json.
 search           Search for packages
 self-update      Updates composer.phar to the latest version.
 selfupdate       Updates composer.phar to the latest version.
 show             Show information about packages
 status           Show a list of locally modified packages
 suggests         Show package suggestions
 update           Updates your dependencies to the latest version according to c
omposer.json, and updates the composer.lock file.
 validate         Validates a composer.json and composer.lock
C:\Users\aa>Composer -v
  / /           _
 / /   /  \/  ` \/  \/ _ \/ /  \/ /
/ // // / / / / / / // / // (  )  __/ /
_/_// // // ./_//_//
                /_/Composer version 1.0-dev (f1aa655e6113e0efa979b8b09d7951a762eaa04c) 2015-08-20 1
1 54
54
Usage:
 command [options] [arguments]
Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output,
2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question
 --profile             Display timing and memory usage information
 --working-dir (-d)    If specified, use the given directory as working director
y.
Available commands:
 about            Short information about Composer
 archive          Create an archive of this composer package
 browse           Opens the package's repository URL or homepage in your browser
.
 clear-cache      Clears composer's internal package cache.
 clearcache       Clears composer's internal package cache.
 config           Set config options
 create-project   Create new project from a package into given directory.
 depends          Shows which packages depend on the given package
 diagnose         Diagnoses the system to identify common errors.
 dump-autoload    Dumps the autoloader
 dumpautoload     Dumps the autoloader
 global           Allows running commands in the global composer dir ($COMPOSER_
HOME).
 help             Displays help for a command
 home             Opens the package's repository URL or homepage in your browser
.
 info             Show information about packages
 init             Creates a basic composer.json file in current directory.
 install          Installs the project dependencies from the composer.lock file
if present, or falls back on the composer.json.
 licenses         Show information about licenses of dependencies
 list             Lists commands
 remove           Removes a package from the require or require-dev
 require          Adds required packages to your composer.json and installs them
run-script       Run the scripts defined in composer.json.
 search           Search for packages
 self-update      Updates composer.phar to the latest version.
 selfupdate       Updates composer.phar to the latest version.
 show             Show information about packages
 status           Show a list of locally modified packages
 suggests         Show package suggestions
 update           Updates your dependencies to the latest version according to c
omposer.json, and updates the composer.lock file.
 validate         Validates a composer.json and composer.lock
C:\Users\aa>e:
E:\>cd wamp
E:\wamp>cd www
E:\wamp\www>cd pay
E:\wamp\www\pay>cd stripe-php-3.2.0
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
^C终止批处理操作吗(Y/N)? y
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
^C终止批处理操作吗(Y/N)? y
E:\wamp\www\pay\stripe-php-3.2.0>php composer.phar install
Could not open input file: composer.phar
E:\wamp\www\pay\stripe-php-3.2.0>php composer.phar install
Could not open input file: composer.phar
E:\wamp\www\pay\stripe-php-3.2.0>php composer.phar install
Could not open input file: composer.phar
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
^C终止批处理操作吗(Y/N)? y
E:\wamp\www\pay\stripe-php-3.2.0>composer config -g repositories.packagist compo
ser http://packagist.phpcomposer.com
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
stripe/stripe-php v3.2.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.1.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.0.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
Installation request for stripe/stripe-php 3.* -> satisfiable by stripe/st
ripe-php[v3.0.0, v3.1.0, v3.2.0].
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
The requested package stripe/stripe-php No version set (parsed as 1.0.0) c
ould not be found.
 Problem 2
Installation request for satooshi/php-coveralls ~0.6.1 -> satisfiable by s
atooshi/php-coveralls[v0.6.1].
satooshi/php-coveralls v0.6.1 requires ext-curl * -> the requested PHP ext
ension curl is missing from your system.
 Problem 3
stripe/stripe-php v3.2.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.1.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.0.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
Installation request for stripe/stripe-php 3.* -> satisfiable by stripe/st
ripe-php[v3.0.0, v3.1.0, v3.2.0].
Potential causes:
A typo in the package name
The package is not available in a stable-enough version according to your min
imum-stability setting
  see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo
n problems.
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
The requested package stripe/stripe-php No version set (parsed as 1.0.0) c
ould not be found.
 Problem 2
Installation request for satooshi/php-coveralls ~0.6.1 -> satisfiable by s
atooshi/php-coveralls[v0.6.1].
satooshi/php-coveralls v0.6.1 requires ext-curl * -> the requested PHP ext
ension curl is missing from your system.
 Problem 3
stripe/stripe-php v3.2.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.1.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.0.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
Installation request for stripe/stripe-php 3.* -> satisfiable by stripe/st
ripe-php[v3.0.0, v3.1.0, v3.2.0].
Potential causes:
A typo in the package name
The package is not available in a stable-enough version according to your min
imum-stability setting
  see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo
n problems.
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
The requested package stripe/stripe-php No version set (parsed as 1.0.0) c
ould not be found.
 Problem 2
Installation request for satooshi/php-coveralls ~0.6.1 -> satisfiable by s
atooshi/php-coveralls[v0.6.1].
satooshi/php-coveralls v0.6.1 requires ext-curl * -> the requested PHP ext
ension curl is missing from your system.
 Problem 3
stripe/stripe-php v3.2.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.1.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.0.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
Installation request for stripe/stripe-php 3.* -> satisfiable by stripe/st
ripe-php[v3.0.0, v3.1.0, v3.2.0].
Potential causes:
A typo in the package name
The package is not available in a stable-enough version according to your min
imum-stability setting
  see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo
n problems.
E:\wamp\www\pay\stripe-php-3.2.0>composer config -g repositories.packagist compo
ser http://packagist.phpcomposer.com
E:\wamp\www\pay\stripe-php-3.2.0>composer config -g repositories.packagist compo
ser http://packagist.phpcomposer.com
E:\wamp\www\pay\stripe-php-3.2.0>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
The requested package stripe/stripe-php No version set (parsed as 1.0.0) c
ould not be found.
 Problem 2
Installation request for satooshi/php-coveralls ~0.6.1 -> satisfiable by s
atooshi/php-coveralls[v0.6.1].
satooshi/php-coveralls v0.6.1 requires ext-curl * -> the requested PHP ext
ension curl is missing from your system.
 Problem 3
stripe/stripe-php v3.2.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.1.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
stripe/stripe-php v3.0.0 requires ext-curl * -> the requested PHP extensio
curl is missing from your system.
Installation request for stripe/stripe-php 3.* -> satisfiable by stripe/st
ripe-php[v3.0.0, v3.1.0, v3.2.0].
Potential causes:
A typo in the package name
The package is not available in a stable-enough version according to your min
imum-stability setting
  see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo
n problems.
我已近把镜像改到中国站点但是系统提示一堆错误
the requested PHP extension curl is missing from your system.
PHP-CURL明明打开了还会这样
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
php --ri curl是否输出curl信息配置文件是否加载了curl?