{"id":23293500,"url":"https://github.com/mamuz/php-analyzer","last_synced_at":"2025-07-21T06:34:43.056Z","repository":{"id":80106426,"uuid":"61286350","full_name":"mamuz/php-analyzer","owner":"mamuz","description":"Docker Container to analyze PHP projects","archived":false,"fork":false,"pushed_at":"2017-08-25T16:22:39.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T18:51:08.583Z","etag":null,"topics":["code-analysis","code-quality","dockerfile","php-analyzer"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mamuz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-06-16T11:08:57.000Z","updated_at":"2023-02-13T16:17:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ff99581-f54d-46b3-b7b6-009b6f922537","html_url":"https://github.com/mamuz/php-analyzer","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mamuz/php-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamuz%2Fphp-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamuz%2Fphp-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamuz%2Fphp-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamuz%2Fphp-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mamuz","download_url":"https://codeload.github.com/mamuz/php-analyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamuz%2Fphp-analyzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253746,"owners_count":23900056,"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":["code-analysis","code-quality","dockerfile","php-analyzer"],"created_at":"2024-12-20T06:15:59.468Z","updated_at":"2025-07-21T06:34:42.983Z","avatar_url":"https://github.com/mamuz.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-analyzer\n\nContainer to analyze PHP projects\n\n## Introduction\n\nYou can use following commands directly or create a proxy command for each one like this:\n\n```sh\nphpcs() {\n    tty=\n    tty -s \u0026\u0026 tty=--tty\n    docker run \\\n       $tty \\\n       --interactive \\\n       --rm \\\n       --user $(id -u):$(id -g) \\\n       --volume /etc/passwd:/etc/passwd:ro \\\n       --volume /etc/group:/etc/group:ro \\\n       --volume $(pwd):/app \\\n       mamuz/php-analyzer phpcs \"$@\"\n}\n```\n\n### [Code Style + Fixer](https://github.com/squizlabs/PHP_CodeSniffer)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpcs`\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpcbf`\n\n### [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer php-cs-fixer`\n\n### [Mess Detector](https://github.com/phpmd/phpmd)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpmd`\n\n### [Copy Paste Detector](https://github.com/sebastianbergmann/phpcpd)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpcpd`\n\n### [Dead Code Detector](https://github.com/sebastianbergmann/phpdcd)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpdpd`\n\n### [Line of Codes](https://github.com/sebastianbergmann/phploc)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phploc`\n\n### [Dependency Analysis](https://github.com/mamuz/PhpDependencyAnalysis)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpda`\n\n### [Security Checker](https://github.com/sensiolabs/security-checker)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer security-checker`\n\n### [PhpMetrics](https://github.com/phpmetrics/PhpMetrics)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer phpmetrics`\n\n### [JMeter](http://jmeter.apache.org)\n\n`docker run --rm -it -v $(pwd):/app mamuz/php-analyzer jmeter -n -t TESTPLAN.jmx`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamuz%2Fphp-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmamuz%2Fphp-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamuz%2Fphp-analyzer/lists"}