Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertsaupe/php-console-app
php based console app template
https://github.com/robertsaupe/php-console-app
cli command-line console-application phar php php-cli php8 template
Last synced: about 2 months ago
JSON representation
php based console app template
- Host: GitHub
- URL: https://github.com/robertsaupe/php-console-app
- Owner: robertsaupe
- License: mit
- Created: 2022-06-03T08:27:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T10:56:52.000Z (11 months ago)
- Last Synced: 2024-05-02T06:10:57.392Z (8 months ago)
- Topics: cli, command-line, console-application, phar, php, php-cli, php8, template
- Language: PHP
- Homepage:
- Size: 365 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# php-console-app
[![Minimum PHP version: 8.2.0](https://img.shields.io/badge/php-8.2%2B-blue.svg?color=blue&style=for-the-badge)](https://packagist.org/packages/robertsaupe/php-console-app)
[![Packagist Version](https://img.shields.io/packagist/v/robertsaupe/php-console-app?color=blue&style=for-the-badge)](https://packagist.org/packages/robertsaupe/php-console-app)
[![Packagist Downloads](https://img.shields.io/packagist/dt/robertsaupe/php-console-app?color=blue&style=for-the-badge)](https://packagist.org/packages/robertsaupe/php-console-app)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](LICENSE)php based console app template
## Supporting
[GitHub](https://github.com/sponsors/robertsaupe) |
[Patreon](https://www.patreon.com/robertsaupe) |
[PayPal](https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ) |
[Amazon](https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8&linkCode=ll2&tag=robertsaupe-21&linkId=b79bc86cee906816af515980cb1db95e&language=de_DE)## Getting started
### Install
```sh
composer create-project robertsaupe/php-console-app my-console-app
```### Console
Execute bin/console
```sh
cd my-console-app
composer console
```### Debug
Execute bin/console-debug
```sh
cd my-console-app
composer debug
```### Phar
Execute build/console.phar
```sh
cd my-console-app
composer phar
```### Compile Phar
Install [box](https://github.com/box-project/box/blob/master/doc/installation.md#installation)
```sh
cd my-console-app
composer compile
```### PHPStan
What is [PHPStan](https://phpstan.org)?
```sh
cd my-console-app
composer stan
```## Credits
- [box-project/box](https://github.com/box-project/box) for some basics
- Kevin Herrera
- Théo Fidry