This page compares the source lines of code (SLOC) of laravel/laravel and symfony/symfony using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-08-26, laravel/laravel contains 2,188 total lines (1,150 code) across 34 files, while symfony/symfony contains 1,457,054 total lines (1,268,312 code) across 5,808 files as of 2026-08-26. symfony/symfony is about 1103x the size of laravel/laravel by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | laravel/laravel | symfony/symfony |
|---|---|---|
| Files | 34 | 5,808 |
| Total lines | 2,188 | 1,457,054 |
| Code lines | 1,150 | 1,268,312 |
| Comment lines | 737 | 116,767 |
| Blank lines | 301 | 71,975 |
| Languages counted | 7 | 12 |
Top languages in laravel/laravel: PHP (85.1% of code), JSON (9.1% of code), XML (3.1% of code). Top languages in symfony/symfony: PHP (98.3% of code), Twig (1.0% of code), JSON (0.4% of code). PHP, JSON, JavaScript, CSS appear in both top language lists; XML appears only in laravel/laravel's top languages; Twig appears only in symfony/symfony's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. laravel/laravel was counted at ref 13.x (commit aa0cf127fc36) on 2026-08-26; symfony/symfony was counted at ref 8.2 (commit f1072d8902e3) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
symfony/symfony has more code: 1,268,312 code lines versus 1,150 for laravel/laravel, about 1103x as much, based on cached OctoCounts reports as of 2026-08-26.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for laravel/laravel, symfony/symfony, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. laravel/laravel was counted at ref 13.x (commit aa0cf127fc36) on 2026-08-26; symfony/symfony was counted at ref 8.2 (commit f1072d8902e3) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.