tpr

其他类别 2025-07-22

TPR

TPR is a PHP framework for quickly developing CGI&CLI applications.

see the details from documentation.

Required

  • PHP 8.1+

Install

composer require axios/tpr

Quickly initialize application

git clone from github repo

# download from github
git clone https://**github.co*m/AxiosCros/tpr-app.git

# install libraries
cd tpr-app/ && composer install

# run cli
php tpr

create project by tpr-cli command

composer global require axios/tpr

# set `~/.composer/vendor/bin` or `~/.config/composer/vendor/bin` to your PATH environment variable
tpr-cli init <app-name>

Demo project

  • Example of Simple Application : github.com/AxiosCros/tpr-app
  • Example of CMS application : github.com/AxiosCros/tpr-cms

License

The TPR framework is open-sourced software licensed under the MIT.

下载源码

通过命令行克隆项目:

git clone https://github.com/AxiosLeo/tpr.git