Create console applications in PHP