Download the PHP package mr-litt/create_errors_code without Composer
On this page you can find all versions of the php package mr-litt/create_errors_code. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package create_errors_code
php-create_errors_code
Description
这是一个生成PHP错误码的工具类。
借用Linux下Xargs命令在项目所有文件中寻找错误码类标识的常量,处理之后生成新的错误码类文件。
Feature
- 自动搜寻项目中的错误码;
- 根据已有错误码生成新的错误码类文件;
- 不影响已定义的错误码;
- 详细的错误报告,一切交互都一目了然;
Requirement
- Linux(windows下不支持xargs命令)
- PHP >= 5.4.0
本应用到对所使用的框架并无特别要求
Installation
-
composer安装
- 直接安装
Usage
基本使用(此处可结合demo):
-
生成你的错误类文件
-
在你项目里使用定义错误标识
- 使用CreateErrorsCode类生成错误码
Demo
文件目录说明:
License
MIT
All versions of create_errors_code with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package mr-litt/create_errors_code contains the following files
Loading the files please wait ....