Cookies ahead

Our support chat tool "Intercom" would like to collect some more data on you. See the related link for more details.

Docs

Blackfire

🔥

Profile PHP performance issues.

Blackfire is a PHP profiler that integrates with fortrabbit to help identify performance bottlenecks and optimize your application's speed.

About Blackfire

Blackfire is a PHP profiler that continuously verifies and improves app performance throughout development and production by providing detailed performance metrics and optimization recommendations. Blackfire enables developers to write performance tests alongside standard test suites and provides actionable recommendations to improve application speed.

Using Blackfire in production yields better insights once your app receives traffic. Understanding code performance helps you refactor for better speed and potentially reduce hosting costs.

Pricing

Blackfire operates on a bring-your-own-license (BYOL) model, requiring a paid plan once your app is live in production with a domain routed. See Blackfire pricing for available plans.

Integration

Enable Blackfire on your fortrabbit app by adding your server credentials from Blackfire to the dashboard. Here's the setup process in three steps:

Over at Blackfire

At fortrabbit

  • Log in to the dashboard
  • Navigate to your app > environment > PHP > Debugging
  • Enable Blackfire
  • Paste the Blackfire Server ID and Server Token
  • Save the PHP settings
  • Wait at least one minute, so that the containers are restarted with the new configuration

In your browser

Limitations

CLI profiling is not directly supported; profiling command-line calls requires using the Blackfire PHP SDK.

Written by a human. Review, grammar checks and typo fixes by AI.

AI use & editorial processEdit on GitHub ↗