PHP初心者です。現在、下記の情報を参考に、PHPMailerというメールライブラリをwindows10のxamppの中にインストールしようとしています。
https://github.com/PHPMailer/PHPMailer
composer.jsonのあるディレクトリ上で、Windows PowerShellを通じ
composer require phpmailer/phpmailer を走らせたのですが、下記のエラーが出て前に進めなくなりました。
何か解決策はないでしょか?
composer : The term 'composer' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- composer require phpmailer/phpmailer
-
+ CategoryInfo : ObjectNotFound: (composer:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
環境は下記のとおりです。
Windows10
PHP Version 7.2.1(XAMPP)
Windows PowerShell
回答1件
あなたの回答
tips
プレビュー