How to install Yoast SEO for TYPO3 using Composer

As of Yoast SEO 20.0, the settings interface inside our plugins has received a major overhaul. Please update to the latest version of Yoast SEO if your plugin does not look like the screenshots you encounter in our Help center.

How to install Yoast SEO for TYPO3 using Composer

Time needed: 5 minutes.

  1. Create a developer token

    Log in to your MyYoast account, go to Account > Profile > Developer Tokens and click Create Token if you don’t have a token yet. Copy the created token.

  2. Register your token with composer

    On the command line, go to the folder that holds your composer.json file and enter the following:
    composer config -g http-basic.my.yoast.com token [PASTE_YOUR_TOKEN]

  3. Add our repository

    Add our secure repository by adding the following:
    composer config repositories.my-yoast composer https://my.yoast.com/packages/

  4. Install Yoast SEO Premium for TYPO3

    Now you can install the plugin using:
    composer require yoast-seo-for-typo3/yoast_seo_premium

Troubleshooting

Caching

Sometimes inaccurate data is stuck in the Composer Cache. Please clear it.

Composer 2.0

Composer 2.0 changes the way repositories are prioritized. You can find more information on the Composer website. In this case, you can use the only attribute as:

["yoast-seo-for-typo3/yoast_seo_premium"]

So, your composer.js file should have a line like this:

{ 
"name": "example-site-com/typo3-website", 
"description": "TYPO3 Website", 
"repositories": { 
    "my-yoast": { 
       "type": "composer", 
        "url": "https://my.yoast.com/packages/" 
        "only": ["yoast-seo-for-typo3/yoast_seo_premium"]
}

Related articles

Get free SEO tips!