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

# GitHub Copilot SDK voor Laravel

> Gebruik de officiële GitHub Copilot SDK-workflows vanuit een Laravel-applicatie.

Het GitHub Copilot SDK voor Laravel is een community-SDK waarmee je de workflows van de officiële [GitHub Copilot SDK](https://github.com/github/copilot-sdk) vanuit Laravel gebruikt. Je kunt Copilot aanroepen vanuit Artisan-commands, controllers en jobs.

## Laravel-specifieke functies

* Een facade-API met `Copilot::run()` en `Copilot::start()`.
* Laravel-configuratie via `config/copilot.php` en `.env`.
* Integratie met Laravel Prompts, queues en console-UX.
* Testhulpmiddelen zoals `Copilot::fake()` en prompt assertions.

## Voorbeeld

```php theme={null}
use Revolution\Copilot\Facades\Copilot;

$response = Copilot::run(prompt: 'Tell me something about Laravel.');
dump($response->content());
```

Voor meerdere prompts gebruik je een session:

```php theme={null}
use Revolution\Copilot\Contracts\CopilotSession;
use Revolution\Copilot\Facades\Copilot;

$content = Copilot::start(function (CopilotSession $session) {
    return $session->sendAndWait(
        prompt: 'Tell me something about Laravel.'
    )->content();
});
```

## Verder lezen

<Columns cols={2}>
  <Card title="Getting started" href="https://github.com/invokable/laravel-copilot-sdk">Installeer het package en start een eerste session.</Card>
  <Card title="Officiële SDK" href="https://github.com/github/copilot-sdk">Bekijk de compatibiliteitslaag en de officiële API.</Card>
</Columns>


## Related topics

- [GitHub Copilot SDK voor Laravel](/nl/packages/laravel-copilot-sdk/index.md)
- [Mijn packages](/nl/packages/index.md)
- [Laravel Boost custom agent voor GitHub Copilot CLI](/nl/packages/laravel-boost-copilot-cli.md)
- [Laravel Boost custom agent voor PhpStorm met GitHub Copilot](/nl/packages/laravel-boost-phpstorm-copilot.md)
- [GitHub Actions - GitHub Copilot SDK for Laravel](/en/packages/laravel-copilot-sdk/github-actions.md)
