Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Laravel Homestead blackfire setup
# Edit out homestead settings
homestead edit
# Enter your details, https://blackfire.io/account/credentials
# See re-provision your homestead box
vagrant global-status
vagrant provision ???? # << this is the id of the homestead instance you have running, from global-status
# So far this didn't work so carry on...
# Get in there
homestead ssh
# update the blackfire agent and php, this is taken from https://blackfire.io/doc/upgrading (Debian)
sudo apt-get update
sudo apt-get install --only-upgrade blackfire-agent
sudo /etc/init.d/blackfire-agent restart
sudo apt-get install --only-upgrade blackfire-php
sudo blackfire-agent -register
# Enter your details, https://blackfire.io/account/credentials
sudo /etc/init.d/blackfire-agent restart
# Now try the chrome profiler again on your page!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment