https://github.com/axiosleo/tpr
PHP framework, design for quickly developing CGI&CLI applications
https://github.com/axiosleo/tpr
application cgi cli php php-framework
Last synced: 10 months ago
JSON representation
PHP framework, design for quickly developing CGI&CLI applications
- Host: GitHub
- URL: https://github.com/axiosleo/tpr
- Owner: AxiosLeo
- License: mit
- Created: 2019-06-22T06:19:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-30T16:31:50.000Z (almost 3 years ago)
- Last Synced: 2025-04-18T10:30:01.046Z (10 months ago)
- Topics: application, cgi, cli, php, php-framework
- Language: PHP
- Homepage:
- Size: 417 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TPR
[](https://github.com/AxiosCros/tpr/actions?query=workflow%3ACI)
[](//packagist.org/packages/axios/tpr)
> TPR is a PHP framework for quickly developing CGI&CLI applications.
>
> see the details from [documentation](https://github.com/AxiosCros/tpr/wiki).
## Required
- PHP 8.1+
## Install
```bash
composer require axios/tpr
```
## Quickly initialize application
### git clone from github repo
```bash
# download from github
git clone https://github.com/AxiosCros/tpr-app.git
# install libraries
cd tpr-app/ && composer install
# run cli
php tpr
```
### create project by `tpr-cli` command
```bash
composer global require axios/tpr
# set `~/.composer/vendor/bin` or `~/.config/composer/vendor/bin` to your PATH environment variable
tpr-cli init
```
## Demo project
- Example of Simple Application : [github.com/AxiosCros/tpr-app](https://github.com/AxiosCros/tpr-app)
- Example of CMS application : [github.com/AxiosCros/tpr-cms](https://github.com/AxiosCros/tpr-cms)
## License
The TPR framework is open-sourced software licensed under the [MIT](LICENSE).