composer で、CakePHP のダウンロード方法を教えてください。
・composer create-project --prefer-dist cakephp/app:^3.8 my_app_name
としたのですが、vendorのフォルダーに「empty」ファイルしかなく、本体がダウンロードされてこないようです。
練習に何種類かのフレームワークをcomposerでダウンロードしています。(symfonyとか)
HPよりダウンロードした「cakephp-3-9-4.zip」には、当然ながらCake本体がありました。
何が悪いのでしょうか?
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q12236357547
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q11236369551
以下ご対応ください。
https://teratail.com/help#posted-otherservice
>としたのですが
コンソールに何も出力されなかったのでしょうか。
m.ts10806さん、ありがとうございます。
もう一度実行してみたのですが、下記のとおりです。vendorのフォルダーは、同じ結果でした。
>composer create-project --prefer-dist cakephp/app:^3.8 my_app_name2
Creating a "cakephp/app:3.8" project at "./my_app_name2"
Installing cakephp/app (3.8.0)
- Installing cakephp/app (3.8.0): Loading from cache
Created project in C:\pleiades-2020-12\xampp\htdocs\my_app_name2
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cakephp/cakephp 3.8.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.8 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.6 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.5 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.13 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.12 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.11 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.10 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.8.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- Installation request for cakephp/cakephp 3.8.* -> satisfiable by cakephp/cakephp[3.8.0, 3.8.1, 3.8.10, 3.8.11, 3.8.12, 3.8.13, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.8.8, 3.8.9].
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php74\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
質問は編集できます。質問本文に「現状」「起きていること」として追記してください。
あとWindowsですかね。
OSも追記してください。
できればPHPのバージョンも。
やはり、ここはダメですね。
さようなら。
くたばれ、1T2R3M4。
あぁ。こっちで解決方法分かったのに、要らなかったということですね。
これくらいで自らくたばる人に差し伸べる手はないです。
エラーの通り確認していけば解決できるので頑張ってください。
この質問の問題は、エラーが起きているのにそのエラーが質問本文に提示されていないこと
質問者自身がそのエラーに対して何も取り組んでないことです(その取り組みが見えない)
あなたの回答
tips
プレビュー