Composer 🎺
Installation
Installation Windows
> $Env:Path
> php -version
C:\php\php-8.2.16;
C:\Users\renato\AppData\Roaming\Composer\vendor\bin;
Usage
> composer -V
> composer install
> composer update
> composer update monolog/monolog
> composer show
> composer show --platform
> composer dump-autoload
$loader = require __DIR__ . '/vendor/autoload.php';
$loader->addPsr4('Acme\\Test\\', __DIR__);
Drupal modules:
$ composer require 'drupal/commerce_webform_order:^3.0@beta' --ignore-platform-req=php+
$ drush en commerce_webform_order
[success] Successfully enabled: commerce_webform_order