I've just installed Phalcon for PHP 5.4 on my Mavericks MacBook Pro using Homebrew. Contrary to what the documents said:
sudo brew install php54-phalcon
I didn't use "sudo" because when I did, HomeBrew refused to do its thing! :)
Everything seemed to install OK but when I run PHP -i from the command line, Phalcon isn't loading.