FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

strever/resp-code: a naming conventions about response code · GitHub

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

strever/resp-code

a naming convention about response code

Installation

composer require strever/resp-code

Usage Docs

\Strever\Util\Resp::success(['id' => 1]);

\Strever\Util\Resp::fail(404);

\Strever\Util\Resp::notFound();

api list

  • fail
  • failWithJson
  • notFound
  • invalidParams
  • success
  • successWithJson ...

UnitTest

$ phpunit tests/Util/RespTest.php

Contact

<strever@.qq.com>

Other Resources

Donate Me

Alipay

License

MIT

About

a naming conventions about response code

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL