gammamatrix/playground-http

游乐场:为控制器和请求提供Http内容和过滤处理。

dev-develop / 73.x-dev 2024-07-20 01:14 UTC

This package is auto-updated.

Last update: 2024-09-20 01:41:57 UTC


README

Playground CI Workflow Test Coverage PHPStan Level 9

Laravel应用的Playground Http包。

在Playground的Read the Docs上了解更多关于使用Playground Http的信息 [点击这里]

安装

您可以通过composer安装此包

composer require gammamatrix/playground-http

注意: 此包是Playground: Http的必需依赖

artisan about

Playground Http在artisan about命令中提供信息。

配置

您可以使用以下命令发布配置文件

php artisan vendor:publish --provider="Playground\Http\ServiceProvider" --tag="playground-config"

查看已发布的配置文件内容:config/playground-http.php

Cloc

composer cloc
➜  playground-http git:(develop) composer cloc
> cloc --exclude-dir=output,vendor .
      63 text files.
      57 unique files.
       7 files ignored.

github.com/AlDanial/cloc v 1.98  T=0.09 s (657.2 files/s, 51299.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                             48            514           1124           2115
YAML                             1              5              0            275
XML                              3              0              7            219
Markdown                         3             38              1             73
JSON                             1              0              0             63
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                            57            560           1132           2757
-------------------------------------------------------------------------------

PHPStan

在以下级别的测试中测试

  • config/
  • database/
  • lang/
  • resources/views/
  • src/
  • tests/Feature/
  • tests/Unit/
composer analyse

编码标准

composer format

测试

composer test

更改日志

请参阅CHANGELOG了解最近有哪些更改。

致谢

许可证

MIT许可证(MIT)。请参阅许可证文件了解更多信息。