{"id":17539898,"url":"https://github.com/reiterus/app-stats-symfony","last_synced_at":"2025-04-23T22:26:06.235Z","repository":{"id":47128441,"uuid":"514790159","full_name":"reiterus/app-stats-symfony","owner":"reiterus","description":"Statistics about your Symfony application: size, files, methods, templates, services, etc.","archived":false,"fork":false,"pushed_at":"2023-04-02T04:18:05.000Z","size":67,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T21:07:10.028Z","etag":null,"topics":["application","bundle","reiterus","stats","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reiterus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-17T08:40:26.000Z","updated_at":"2023-02-05T08:48:56.000Z","dependencies_parsed_at":"2025-03-06T17:35:11.910Z","dependency_job_id":"38575c11-4a72-4428-93be-312f61bb6987","html_url":"https://github.com/reiterus/app-stats-symfony","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiterus%2Fapp-stats-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiterus%2Fapp-stats-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiterus%2Fapp-stats-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiterus%2Fapp-stats-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiterus","download_url":"https://codeload.github.com/reiterus/app-stats-symfony/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250524843,"owners_count":21444986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application","bundle","reiterus","stats","symfony","symfony-bundle"],"created_at":"2024-10-20T22:06:03.804Z","updated_at":"2025-04-23T22:26:06.179Z","avatar_url":"https://github.com/reiterus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Application Stats\n\nStatistics about your Symfony application: size, files, methods, templates, services, etc.\n\nAll you have to do is **run a command** from the \"rts\" namespace.\n\nDirectories for analysis: `assets, bin, config, migrations, public, templates, translations, src, tests`\n\n| #   | Title  | Value                           |\n|-----| ------ |---------------------------------|\n| 1   | Root folder | /var/www/demo.symfony.localhost |\n| 2   | All project in bytes | 94539478 (vendor, var, etc) |\n| 3   | Working files in bytes  | 12104484 |\n| 4   | Number of working files | 519 |\n| 5   | ...including \"assets\" | 13 |\n| ...   | ... | ... |\n| 12  | ...including \"src\" | 35 |\n\n| #   | Extension          | Amount                          |\n|-----|--------------------|---------------------------------|\n| 1   | Root folder        | /var/www/demo.symfony.localhost |\n| 2   | js                 | 214                             |\n| 3   | woff2              | 60                              |\n| ... | ...                | ...                             |\n| 8   | php                | 47                              |\n\n| #   | Title                       | Amount                          |\n|-----|-----------------------------|---------------------------------|\n| 1   | Root folder                 | /var/www/demo.symfony.localhost |\n| 2   | Directory list              | src, tests                      |\n| 3   | ... found \"class\"           | 49                              |\n| 4   | ... found \"interface\"       | 5                               |\n| ... | ...                         | ...                             |\n| 8   | ... found \"public function\" | 171                             |\n\nTo get one of the statistics options, run the following commands:\n- general information: `rts:stats:general`\n- all files information: `rts:stats:files`\n- **only php** files information: `rts:stats:php`\n\n\u003e To get Summary Application Statistics (general, files, php) run the command **rts:stats:summary**\n\nTo get more detailed information about a specific service run this command `bin/console debug:container rts.app`\n\n![General Statistics](img-services.png)\n\n# Installation\nYou can install the bundle in two ways\n\nFrom packagist.org\n```shell\ncomposer require reiterus/app-stats-symfony\n```\n\nFrom GitHub repository\n```json\n{\n \"repositories\": [\n  {\n   \"type\": \"vcs\",\n   \"url\": \"https://github.com/reiterus/app-stats-symfony.git\"\n  }\n ]\n}\n```\n\n# Tests\n\nTo run tests with visual code coverage, launch the command as follows:\n\n```shell\nXDEBUG_MODE=coverage ./vendor/phpunit/phpunit/phpunit \\\n--configuration phpunit.xml \\\n--testsuite default \\\n--coverage-html coverage/\n```\n\nTest results will be saved in the `coverage` directory.\n\n**Tip**: `vendor/bin/phpunit --generate-configuration`\n\n# License\n\nThis library is released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiterus%2Fapp-stats-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiterus%2Fapp-stats-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiterus%2Fapp-stats-symfony/lists"}