Download the PHP package k-kinzal/lm-cc-php without Composer
On this page you can find all versions of the php package k-kinzal/lm-cc-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download k-kinzal/lm-cc-php
More information about k-kinzal/lm-cc-php
Files in k-kinzal/lm-cc-php
Package lm-cc-php
Short Description LM-CC: Language Model Code Complexity metric for PHP
License MIT
Homepage https://github.com/k-kinzal/lm-cc-php
Informations about the package lm-cc-php
LM-CC PHP
Language Model Code Complexity metric for PHP codebases.
LM-CC measures code complexity from the LLM's perspective. Based on arXiv:2602.07882, it correlates at r=-0.92 to -0.97 with LLM task performance — lowering LM-CC improves LLM repair (+20.9%) and translation (+10.2%) success rates.
Installation
Requires an LLM backend:
Quick Start
Configuration
Place lm-cc.yaml in your project root:
See docs/usage.md for all options.
CI Integration
See docs/ci-integration.md for full examples.
Documentation
- What is LM-CC? — Theory and formula
- Installation — Backend setup
- Usage — CLI reference
- CI Integration — Pipeline setup
Acknowledgments
This tool is an implementation of the LM-CC metric proposed in:
Mingjie Liu, Zichao Li, Chengyu Huang, Yihong Dong, Yongqiang Chen, Shuijing He, Bo Zheng, and Ge Li. LM-CC: Language Model Code Complexity — A New Metric from the LLM's Perspective. arXiv:2602.07882, 2025.
License
MIT — see LICENSE.
All versions of lm-cc-php with dependencies
ext-json Version *
ext-tokenizer Version *
symfony/console Version ^6.0 || ^7.0
symfony/http-client Version ^6.0 || ^7.0
symfony/yaml Version ^6.0 || ^7.0
symfony/finder Version ^6.0 || ^7.0