Skip to content
dvnc0 edited this page Aug 24, 2023 · 5 revisions

This is the official documentation for Clyde. The goal of Clyde is to create a CLI Application Framework that allows developers to quickly create new tools and applications in PHP.

What is Clyde?

At its core, Clyde is a collection of Objects that get parsed when the run method of Application is called. Our main application contains an Application_Object, which includes Command_Objects that have Arg_Objects. This means you could build a CLI application using Clyde with a different approach than we show in the docs. Essentially you would just need to make these objects and assign the completed Application_Object to the Application_Object property of Application before calling the run method. We will use the methods that create these objects, for this wiki because that is the fastest way to build an application.

When building Clyde I took inspiration from projects like Commander and Clap.

Clone this wiki locally