diego-ninja/cosmic

The ultimate php framework for building CLI applications.


README

Latest Version on Packagist Total Downloads PHP Version License: MIT wakatime GitHub last commit PHPStan Level 8

Cosmic is, in one hand a PHP framework for building CLI applications, and in the other hand a CLI application for building PHP applications. Using Cosmic you can generate a fully functional PHP application and start coding right away using the Cosmic framework.

Cosmic is focused on eye-candy, rapid application development and ease of use. In your commands you can use nice spinners and tables, send os based notifications or develop your own themes to customize the look and feel of your application.

Cosmic needs an ANSI compatible terminal to work properly and is tested and fully working on 🐧 Linux.

This is a work in progress, and it is not ready for production use. However, you can use it to build your own CLI applications. Help is needed to improve the project, so if you are interested in contributing, please read the contributing guide.

Please refer to the documentation (very WIP!) for getting started to develop your own CLI applications.

🙏 Credits

This project is developed and maintained by 🥷 Diego Rin in his free time.

Special thanks to:

  • Symfony Console for providing the low-level console component used in this project.
  • Termwind for providing the terminal styling capabilities.
  • JoliNotif for providing the notification capabilities.
  • Box for enabling us to package the application into a PHAR file.
  • Freepik@Flaticons for the amazing rocket icon used in the logo.
  • All the contributors and testers who have helped to improve this project through their contributions.

If you find this project useful, please consider giving it a ⭐ on GitHub!