This project contains a PHP SDK to use the Incapsula API programmatically, as well as providing command line tools for executing various tasks against the Incapsula API.
AccountLoginTokenCommand generates a login token for the web console (lasting for 15 minutes.)
It would be a nice feature if it automatically opened a browser window/tab for you instead of just outputting the URL to the CLI.
Maybe allow getting the URL instead of opening a browser using an option like --stdout.
Currently to use this as a command line tool, you have to clone the repo and invoke the commands directly using bin/incapsula. Releasing "binaries" would be better.