Trabla: php & Composer: install composer on windows
Solving:
Composer is a tool for dependency management in PHP.
It allows you to declare the dependent libraries your project needs
and it will install them in your project for you.
Package list for Composer - https://packagist.org/
1. Download and install XAMPP ( apache + php + mysql ) for Windows
https://www.apachefriends.org/download.html
2. Add path to php.exe folder ( e.g. C:/xampp/php; ) into PATH environment variable
Control Panel -> Advance System Settings -> Environment Variables -> PATH
3. Check php from cmd.exe - type php -version
If PATH was updated correctly - you will see php version info
4. Download and install Composer for Windows
https://getcomposer.org/Composer-Setup.exe
5. Run cmd.exe and check Composer version - type and press Enter:
composer --version
No comments:
Post a Comment