Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 3 days ago
JSON representation

PHP framework, design for quickly developing CGI&CLI applications

Awesome Lists containing this project

README

        

# TPR

[![CI Build Status](https://github.com/AxiosCros/tpr/workflows/CI/badge.svg)](https://github.com/AxiosCros/tpr/actions?query=workflow%3ACI)
[![Latest Stable Version](https://poser.pugx.org/axios/tpr/v)](//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).