Laravel Homestead supports Blackfire
Laravel Homestead, one of the most popular Vagrant boxes supports Blackfire natively.
Laravel Homestead is the “official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine.”
Laravel Homestead is also one of the most popular Vagrant boxes as it will soon reach a million downloads. If you have a look at the Vagrant boxes, you can see that besides generic boxes, Homestead is way ahead of any other boxes. And that’s for a reason; Homestead makes it dead easy to start developing a PHP application with sensible defaults. Even if you are not a Laravel developer, I highly recommend you to have a look at Homestead for your PHP developments.
The good news is that the latest version of Homestead supports Blackfire out of the box. Set your Blackfire server id and server token in the
Homestead.yaml configuration file:
blackfire: - id: your-server-id token: your-server-token
homestead provision to re-provision your box, and you’re good to start profiling PHP applications. As a bonus, the
blackfire CLI utility is also installed and you can use it by SSHing into the box via
You can find more information about Homestead in the official Laravel documentation.