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

# AppSignal voor PHP installatie

### Installeer het AppSignal voor PHP-pakket

Installeer AppSignal voor PHP:

```bash Shell theme={null}
composer require appsignal/appsignal-php
```

### AppSignal initialiseren

Voer het `install`-commando uit om het configuratiebestand op te zetten, framework-auto-instrumentatie te installeren en voorbeeldgegevens naar AppSignal te sturen:

```bash Shell theme={null}
vendor/bin/appsignal install --push-api-key=<push-api-key> --collector-endpoint=<collector-endpoint> --app-name=<app-name> --app-environment=<your-environment>
```

Het `appsignal install`-commando detecteert de omgeving van uw applicatie, installeert auto-instrumentatiepakketten, maakt `config/appsignal.php` aan in de hoofdmap van uw project, stuurt voorbeeldgegevens naar AppSignal en werkt indien nodig het `.env`-bestand bij.

[Lees meer over het `install`-commando](/php/command-line/install).
