An open API service indexing awesome lists of open source software.

https://github.com/diego-ninja/cosmic

The ultimate php framework for building CLI applications
https://github.com/diego-ninja/cosmic

cli command-line-tool console console-application framework php8 rad satis-enabled terminal terminal-based

Last synced: 6 months ago
JSON representation

The ultimate php framework for building CLI applications

Awesome Lists containing this project

README

          

![](./assets/logo-portrait.png)

[![Latest Version on Packagist](https://img.shields.io/packagist/v/diego-ninja/cosmic.svg?style=flat&color=blue)](https://packagist.org/packages/diego-ninja/cosmic)
[![Total Downloads](https://img.shields.io/packagist/dt/diego-ninja/cosmic.svg?style=flat&color=blue)](https://packagist.org/packages/diego-ninja/cosmic)
![PHP Version](https://img.shields.io/packagist/php-v/diego-ninja/cosmic.svg?style=flat&color=blue)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![wakatime](https://wakatime.com/badge/user/bd65f055-c9f3-4f73-92aa-3c9810f70cc3/project/018c0d4c-5525-4929-a0c3-da68ddd3448f.svg)](https://wakatime.com/badge/user/bd65f055-c9f3-4f73-92aa-3c9810f70cc3/project/018c0d4c-5525-4929-a0c3-da68ddd3448f)
![GitHub last commit](https://img.shields.io/github/last-commit/diego-ninja/cosmic?color=blue)
[![PHPStan Level 8](https://img.shields.io/badge/PHPStan-level%208-blue.svg)](https://github.com/diego-ninja/cosmic/blob/main/.github/workflows/static-code-analysis.yml)

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](./docs/contributing.md).

Please refer to the [documentation](https://github.com/diego-ninja/cosmic-docs) (very WIP!) for getting started to develop your own CLI applications.

## 🙏 Credits

This project is developed and maintained by 🥷 [Diego Rin](https://diego.ninja) in his free time.

Special thanks to:

- [Symfony Console](https://symfony.com/doc/current/components/console.html) for providing the low-level console component used in this project.
- [Termwind](https://github.com/nunomaduro/termwind) for providing the terminal styling capabilities.
- [JoliNotif](https://github.com/jolicode/JoliNotif) for providing the notification capabilities.
- [Box](https://box-project.github.io/box/) for enabling us to package the application into a PHAR file.
- [Freepik@Flaticons](https://www.flaticon.es/iconos-gratis/cohete) 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!