Skip to main content
Configure AppSignal for PHP through the config/appsignal.php file. The appsignal install command creates this file for you.
Shell

Configure AppSignal

Open config/appsignal.php and set the required values, along with a service name:
Set the Push API key and collector endpoint URL in your .env file:
.env
AppSignal provides the Push API key and collector endpoint URL when you create a new application. The service_name option names this application among the services reporting to your collector, so a trace that crosses several of them shows which service did what.

Validate configuration

The AppSignal for PHP package includes an appsignal validate command to check that the current configuration is valid.
Shell

Test the app

Once your application is configured, start it and check whether data arrives in AppSignal. The “Performance > Traces” page is a good place to start, where you’ll see traces from your application. If you still don’t see data after following the installation instructions, contact support and we’ll help you finish setup. All available AppSignal configuration options are listed on the configuration options page.