# Installation

Install the addon with Composer:

```shell
composer require aerni/advanced-seo
```

Then run the install command to complete the setup:

```shell
php artisan seo:install
```

The command will publish the config, add the required SEO tags to your layout, and ask you about optional features like social images generation, and AI copywriting. If you're migrating from SEO Pro or Aardvark SEO, the installer will also offer to migrate your existing content.

## Migration

Switching from SEO Pro or Aardvark SEO? Advanced SEO can automatically migrate your existing data. The install command offers this during setup, but you can also run it separately at any time:

```shell
php please seo:migrate
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://advanced-seo.michaelaerni.ch/getting-started/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
