Advanced Custom Fields with composer

You want to install ACF free or PRO?

For using wpackagist repository you just have to declare it once,
then you can require with the wpackagist-plugin/ prefix.

For ACF free (wpackagist):

{
  [...]
  "repositories": [
    {
      "type": "composer",
      "url": "https://wpackagist.org"
    }
  ],
  "require": {
    [...]
    "wpackagist-plugin/advanced-custom-fields": "4.4.11"
  }
}