i use windows 7, 32bit i have tried many times all possible ways to install yii2 via composer. couldn’t success. here is my console data. i think this because of windows 7 32bit version .i have installed in windows 8 64bit few weeks back doesn’t come any issue then. should i do any thing new to overcome this.this all i did in console.
Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>cd …/…
C:\>cd wamp/www
C:\wamp\www>composer
/ _/ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ // // / / / / / / // / // (__ ) __/ /
\/\// // // ./\//\//
/_/
Composer version 1.0-dev (417516098edb9b3c9d433c9b6527b0f1492362f4) 2015-07-16 0
9:51:31
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:\wamp\www>composer global require "fxp/composer-asset-plugin:~1.0.2"
Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Deprecation Notice: Composer\Package\Version\VersionParser::parseLinks is deprec
ated. Use \Composer\Package\Loader\ArrayLoader::parseLinks() instead in phar://C
:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Package/Version/Versi
onParser.php:226
Writing lock file
Generating autoload files
C:\wamp\www>composer create-project --prefer-dist yiisoft/yii2-app-basic newtest
yii2
Installing yiisoft/yii2-app-basic (2.0.4)
Created project in newtestyii2
Loading composer repositories with package information
Installing dependencies (including require-dev)
Reading bower.json of bower-asset/jquery.inputmask (3.1.57)
Could not fetch https://api.github.com/repos/RobinHerbots/jquery.inputmask/commi
ts/d180082aa1ba98c85f85b2c4eebbfa195fd25613, please create a GitHub OAuth token
to go over the API rate limit
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+
on+user-PC+2015-07-17+1221
to retrieve a token. It will be stored in "C:/Users/Administrator/AppData/Roamin
g/Composer/auth.json" for future use by Composer.
Token (hidden):
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2 2.0.5 requires bower-asset/punycode 1.3.* -> no matching pack
age found.
- yiisoft/yii2 2.0.4 requires bower-asset/punycode 1.3.* -> no matching pack
age found.
- Installation request for yiisoft/yii2 >=2.0.4 -> satisfiable by yiisoft/yi
i2[2.0.4, 2.0.5].
Potential causes:
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.
C:\wamp\www>