実現したいこと
・Laravelをインストールして正常に動くようにしたい
前提
Laravelの環境構築がしたくて、WindowsOSのコマンドプロンプトで設定中です。
composer, git, PHPはインストール済み、php.initの extention = zipの ; は削除済みです。
発生している問題・エラーメッセージ
エラーメッセージ
Failed to download laravel/laravel from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\php\php.ini
Now trying to download from source
kylekatarnls/update-helper contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "kylekatarnls/update-helper" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
該当のソースコード
コマンドプロンプト
C:\xampp\htdocs>composer create-project "laravel/laravel=5.2.*" demo
補足情報(FW/ツールのバージョンなど)
Laravel Installer 4.5.0
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
completion Dump the shell completion script
help Display help for a command
list List commands
new Create a new Laravel application
0 コメント