First Blackfire’s Hosting Partners
Blackfire comes pre-installed on Heroku, Platform.sh, and fortrabbit containers; profiling is a click away on those platforms.
Today, we are very happy to announce that containers created via Heroku, Platform.sh, and fortrabbit now come pre-installed with the Blackfire Profiler.
Blackfire already being installed in the containers means that the only remaining step for you to use Blackfire is to configure the environment and install the Companion. It saves your valuable time. Best if all, the service is totally free.
Getting your Credentials on Blackfire
After signing-up on Blackfire, go to Account > Credentials, the Server Id
and the Server Token
are the credentials you will need to configure your container.
Configure Heroku
$ heroku config:set BLACKFIRE_SERVER_ID=XXXX $ heroku config:set BLACKFIRE_SERVER_TOKEN=XXXX $ git commit --allow-empty -m "enable blackfire ext" $ git push heroku master
Configure Platform.sh
# platform.app.yaml runtime: extensions: - name: blackfire configuration: server_id: XXXX server_token: XXXX
Configure fortrabbit
Blackfire on fortrabbit can be configured directly from the dashboard. Navigate to your “App > Settings > PHP > Debugging”, enable Blackfire, copy/paste the Blackfire Server ID and Server Token, and save the PHP Settings.
As you can see, using Blackfire on those platforms is as easy as it can get. Being in the official PHP Heroku build pack also means that you can get instant integration if you are using the build pack on other compatible platforms.
If you want to support Blackfire on your favorite hosting platform, we’d love to discuss with you how to make it happen. We strongly believe in the high added-value of partnering with hosting solutions, drop us a mail and we’ll make sure to have Blackfire available for your users.