Scout: the PHP monitoring solution your project needs
Fast, flexible and pragmatic, PHP deserves a monitoring solution that is up to par with one of the most widely used server-side languages today. That solution? Scout! With support for Laravel, Symfony and many other libraries, we've got you covered -- and you're only 3 simple steps away from top-tier PHP performance insights.
Find Issues Fast
Find and prioritize N+1 queries and memory bloat automatically, ranked by actual impact on your application. Our customers like Grizzly Labs and IETF have seen up to 3x performance improvements by addressing performance and stability issues Scout discovered.
Smart Monitoring
Automatically track memory usage, optimize queries, and monitor object allocations with minimal overhead (typically <1%). Scout analyzes your application metrics every minute and sends them securely through 256-bit encrypted connections, ensuring you never miss a performance regression.
Pinpoint Problems
Trace performance issues directly to the exact line of code, eliminating time wasted searching through logs and stacktraces. Scout's detailed transaction traces show you the whole picture - from controller actions to database queries - with timing breakdowns for each component.
Clear Context
View full context in clear, language-specific syntax, making it easier to understand how problematic code was invoked. Scout's GitHub integration even shows you who wrote the code, when it was deployed, and provides direct links to the relevant source files.
Add Scout to Your PHP App
Add performance monitoring to your Laravel 5.5+ applications. Scout helps you identify bottlenecks and track application performance with straightforward integration.
Scout supports Laravel 5.5+. Not using Laravel? Check our documentation.
Install the scoutapp/scout-apm-laravel package:
composer require scoutapp/scout-apm-laravelInstall the scoutapm php extension (optional, recommended):
sudo pecl install scoutapmConfigure Scout in your .env file:
SCOUT_MONITOR=true
SCOUT_KEY="[AVAILABLE IN THE SCOUT UI]"
SCOUT_NAME="A FRIENDLY NAME FOR YOUR APP"Add the config file:
php artisan vendor:publish --provider="Scoutapm\Laravel\Providers\ScoutApmServiceProvider"Clear and re-cache your config:
php artisan config:cacheDeploy. It takes approximately five minutes for your data to first appear within the Scout UI.
If you've installed Scout via the Heroku Addon, the provisioning process automatically sets SCOUT_MONITOR and SCOUT_KEY via config vars. Only SCOUT_NAME is required.
PHP Monitoring FAQ
What kind of integrations does Scout support?
Scout supports integrations with PagerDuty, Rollbar, Sentry, Zapier, Github, plus others. Click here for a comprehensive list of our integrations.
What's Scout overhead like?
Scout's performance monitoring agent uses just a portion of the resources of existing app monitoring agents while providing higher-fidelity trace details.
What is the Scout Monitoring installation process like?
You can start collecting insights in just 3 easy steps. Simply install your PHP framework's package, set a configuration key, and deploy.
What kind of alerting options do I get with Scout Monitoring?
Scout provides alerting options such as Github, Slack, weekly digest emails and more. For a full list visit our alerting options, visit this section of our docs page.
Is it safe to run Scout alongside my current APM library?
Yes