This command will open your working directory in PhpStorm: open -a /Applications/PhpStorm.app "pwd"

For easy usage you can alias the command to "phpstorm".

Update: as mentioned by Nicolas Widart on Twitter and rok in the comments below, you can also use PhpStorm's built in launcher.