Laravel Homestead supports Blackfire

By Fabien Potencier, on Mar 13, 2015

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:

Run 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 homestead ssh.

You can find more information about Homestead in the official Laravel documentation.

Happy profiling!

Fabien Potencier

Fabien Potencier is the CEO and founder of Blackfire.io. He founded the Symfony project in 2004 as he constantly looked for better ways to build websites. Fabien is also the creator of several other Open-Source projects, a writer, a blogger, a speaker at international conferences, and the happy father of two wonderful kids.