I want to install WordPress and WP CLI both with Composer.
This is how I install Drupal and Drush (Drupal's CLI tool) with Composer:
cd WEB_APPLICATION_ROOT
composer create-project drupal/recommended-project WEB_APPLICATION_DIR_NAME
cd WEB_APPLICATION_DIR_NAME
composer require drush/drush
vendor/bin/drush site:install
Is there a similar way to install for WordPress?