AppSignal for PHP: Demo command
This feature requires AppSignal for PHP version 0.5.0 or higher.
The AppSignal for PHP package includes a command-line tool that sends example data to AppSignal. When the command runs, it sends trace, error, and log samples from your PHP environment to AppSignal.
This command-line tool is useful for testing AppSignal on a system and validating your local configuration. The same test is also run during installation when using the AppSignal installer.
Usage
To run the demonstration command, run the following terminal command from your project's root folder:
Shell
vendor/bin/appsignal demo
Available options
| Option | Usage | Description |
|---|---|---|
application | --application=<application name> | Set the name of the reported application. (Optional) |
environment | --environment=<environment_name> | Set the environment to use in the command, e.g. production or staging. |
push-api-key | --push-api-key=<Push API key> | Set the Push API key used to authenticate the application. |