In the grunt pot task, just wildcard all PHP files, and then exclude bower_components and node_modules.