> ## Documentation Index
> Fetch the complete documentation index at: https://kawax.biz/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel Boost Custom Agent for PhpStorm with GitHub Copilot

> Paket, das für das GitHub-Copilot-Plugin von PhpStorm einen Custom-Agent für Laravel Boost hinzufügt. Unterstützt macOS/Windows/Linux/WSL.

## Überblick über das Paket

[revolution/laravel-boost-phpstorm-copilot](https://github.com/invokable/laravel-boost-phpstorm-copilot) ist ein Paket, das als Erweiterung von Laravel Boost einen Custom-Agent für das **GitHub-Copilot-Plugin in PhpStorm** hinzufügt.

Bei der AI-Agent-Auswahl von `php artisan boost:install` wird der Eintrag `PhpStorm with GitHub Copilot` ergänzt.

<Warning>
  `PhpStorm` ist die Auswahl für `PhpStorm Junie`. Wählen Sie unbedingt `PhpStorm with GitHub Copilot`.
</Warning>

## Voraussetzungen

* PHP 8.3 oder höher
* Laravel 12 oder höher
* Laravel Boost 2.0 oder höher
* GitHub-Copilot-Plugin in PhpStorm installiert

## Installation

```shell theme={null}
composer require revolution/laravel-boost-phpstorm-copilot --dev
```

## Verwendung

<Steps>
  <Step title="Boost-Installationskommando ausführen">
    ```shell theme={null}
    php artisan boost:install
    ```
  </Step>

  <Step title="Funktionen auswählen">
    Wählen Sie aus `AI Guidelines` / `Agent Skills` / `Boost MCP Server Configuration` die benötigten Funktionen aus.
  </Step>

  <Step title="Als AI-Agent PhpStorm with GitHub Copilot wählen">
    Wählen Sie bei `Which AI agents would you like to configure?` den Eintrag `PhpStorm with GitHub Copilot`.
  </Step>
</Steps>

## Speicherort der MCP-Konfigurationsdatei

| OS           | Pfad                                              |
| ------------ | ------------------------------------------------- |
| macOS, Linux | `~/.config/github-copilot/intellij/mcp.json`      |
| Windows      | `%LOCALAPPDATA%\github-copilot\intellij\mcp.json` |

## Wichtig: Beim Projektwechsel erneut ausführen

Beim GitHub-Copilot-Plugin in PhpStorm wird die MCP-Konfiguration **systemweit und nicht pro Projekt** gespeichert.\
Da in der Konfigurationsdatei der **absolute Pfad** des Laravel-Projekts steht, müssen Sie sie bei jedem Projektwechsel aktualisieren.

```shell theme={null}
php artisan boost:install --guidelines --skills --mcp --no-interaction
```

<Info>
  Ab Boost 1.8 wird die MCP-Konfigurationsdatei durch `boost:update` nicht aktualisiert.
</Info>

## WSL-Unterstützung

Dieses Paket unterstützt Konstellationen, bei denen **PhpStorm unter Windows und PHP unter WSL** laufen.

### Voraussetzungen

* Das Paket `wslu` ist erforderlich.
* Falls nicht installiert: `sudo apt install wslu`

### Funktionsweise

* Erkennung der WSL-Umgebung über `WSL_DISTRO_NAME`
* Abfrage des Windows-AppData-Pfads über `wslvar LOCALAPPDATA`
* Schreiben nach `%LOCALAPPDATA%\github-copilot\intellij\mcp.json` per PowerShell

### Hinweise

Der Einsatz von PhpStorm im WSL als Remote Development wird nicht unterstützt. Konfigurieren Sie in diesem Fall die MCP-Datei manuell.

## Keine Testbench-Unterstützung und Alternative

Dieses Paket unterstützt den Einsatz mit Testbench nicht.\
Wenn Sie Testbench in der Paketentwicklung nutzen möchten, verwenden Sie stattdessen [laravel-boost-copilot-cli](https://github.com/invokable/laravel-boost-copilot-cli).

## Verwandte Links

* [laravel-boost-phpstorm-copilot (GitHub)](https://github.com/invokable/laravel-boost-phpstorm-copilot)
* [Laravel Boost (GitHub)](https://github.com/laravel/boost)
* [GitHub Copilot plugin for PhpStorm](https://plugins.jetbrains.com/plugin/17718-github-copilot)


## Related topics

- [Laravel Boost Custom Agent for GitHub Copilot CLI](/de/packages/laravel-boost-copilot-cli.md)
- [Einen eigenen Agenten für Boost erstellen](/de/advanced/boost-custom-agent.md)
- [Skills](/de/packages/laravel-copilot-sdk/skills.md)
- [Benutzerdefinierte Agenten](/de/packages/laravel-copilot-sdk/custom-agents.md)
- [Authentifizierung - GitHub Copilot SDK für Laravel](/de/packages/laravel-copilot-sdk/auth.md)
