Skip to content

Instantly share code, notes, and snippets.

@dancourse
Last active November 14, 2019 18:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dancourse/92cf77829e5b0b5bba62 to your computer and use it in GitHub Desktop.
Save dancourse/92cf77829e5b0b5bba62 to your computer and use it in GitHub Desktop.
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