定制 reiterus/app-stats-symfony 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

reiterus/app-stats-symfony

最新稳定版本:2.0.0

Composer 安装命令:

composer require reiterus/app-stats-symfony

包简介

Statistics about your Symfony application: size, files, methods, templates, services, etc.

README 文档

README

Statistics about your Symfony application: size, files, methods, templates, services, etc.

All you have to do is run a command from the "rts" namespace.

Directories for analysis: assets, bin, config, migrations, public, templates, translations, src, tests

# Title Value
1 Root folder /var/www/demo.symfony.localhost
2 All project in bytes 94539478 (vendor, var, etc)
3 Working files in bytes 12104484
4 Number of working files 519
5 ...including "assets" 13
... ... ...
12 ...including "src" 35
# Extension Amount
1 Root folder /var/www/demo.symfony.localhost
2 js 214
3 woff2 60
... ... ...
8 php 47
# Title Amount
1 Root folder /var/www/demo.symfony.localhost
2 Directory list src, tests
3 ... found "class" 49
4 ... found "interface" 5
... ... ...
8 ... found "public function" 171

To get one of the statistics options, run the following commands:

  • general information: rts:stats:general
  • all files information: rts:stats:files
  • only php files information: rts:stats:php

To get Summary Application Statistics (general, files, php) run the command rts:stats:summary

To get more detailed information about a specific service run this command bin/console debug:container rts.app

General Statistics

Installation

You can install the bundle in two ways

From packagist.org

composer require reiterus/app-stats-symfony

From GitHub repository

{
 "repositories": [
  {
   "type": "vcs",
   "url": "https://github.com/reiterus/app-stats-symfony.git"
  }
 ]
}

Tests

To run tests with visual code coverage, launch the command as follows:

XDEBUG_MODE=coverage ./vendor/phpunit/phpunit/phpunit \
--configuration phpunit.xml \
--testsuite default \
--coverage-html coverage/

Test results will be saved in the coverage directory.

Tip: vendor/bin/phpunit --generate-configuration

License

This library is released under the MIT license.

统计信息

  • 总下载量: 55
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固