Add php script to list projects

Can we get this in human-readable format? Something simple like

project_id: project name\n

is fine