# symfony/symfony SLOC report

> As of 2026-09-16 (commit a2707548b4dd), symfony/symfony contains 1,481,690 total lines: 1,283,887 code, 121,693 comments, 76,110 blank, across 6,093 files in 12 languages (top: PHP 98.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

symfony/symfony has 1,283,887 source lines of code out of 1,481,690 total lines across 6,093 files, counted from the a2707548b4dde49c07cc3d8882949b875ecf79f0 ref at commit a2707548b4dd by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving symfony/symfony to commit a2707548b4dd, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 86.7% of all lines, comments represent 8.2%, and the repository averages 211 code lines per file. PHP accounts for 98.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PHP | 5,705 | 1,439,774 | 1,261,632 | 107,400 | 70,742 |
| Twig | 67 | 14,354 | 13,031 | 128 | 1,195 |
| JSON | 84 | 5,326 | 5,326 | 0 | 0 |
| CSS | 5 | 2,624 | 2,248 | 28 | 348 |
| JavaScript | 4 | 1,344 | 1,120 | 46 | 178 |
| SVG | 55 | 321 | 320 | 0 | 1 |
| BASH | 1 | 122 | 84 | 21 | 17 |
| XML | 1 | 80 | 61 | 17 | 2 |
| Zsh | 1 | 90 | 45 | 33 | 12 |
| Fish | 1 | 36 | 20 | 8 | 8 |
| Markdown | 165 | 17,579 | 0 | 13,980 | 3,599 |
| Plain Text | 4 | 40 | 0 | 32 | 8 |

Top language (PHP 98.3%). Generated at 2026-09-16T10:10:59.427589452+00:00. Canonical report: https://octocounts.com/github/symfony/symfony

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/symfony/symfony/commit/a2707548b4dde49c07cc3d8882949b875ecf79f0?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does symfony/symfony have?

symfony/symfony has 1,481,690 total lines, including 1,283,887 code lines, 121,693 comment lines, and 76,110 blank lines.

### How was the symfony/symfony line count measured?

OctoCounts resolved the public GitHub repository to commit a2707548b4dd, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for symfony/symfony?

This OctoCounts report was generated from a2707548b4dde49c07cc3d8882949b875ecf79f0 at commit a2707548b4dd on 2026-09-16T10:10:59.427589452+00:00.

## Similar repository reports

- [Dolibarr/dolibarr](https://octocounts.com/github/Dolibarr/dolibarr) — PHP, 1,490,070 code lines
- [WordPress/WordPress](https://octocounts.com/github/WordPress/WordPress) — PHP, 781,556 code lines
- [SuiteCRM/SuiteCRM](https://octocounts.com/github/SuiteCRM/SuiteCRM) — PHP, 727,112 code lines
- [magento/magento2](https://octocounts.com/github/magento/magento2) — PHP, 1,947,193 code lines
- [OpenMage/magento-lts](https://octocounts.com/github/OpenMage/magento-lts) — PHP, 477,486 code lines
- [drupal/drupal](https://octocounts.com/github/drupal/drupal) — PHP, 460,880 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
