# laravel/framework SLOC report

> As of 2026-10-23 (commit 1de9acf2054c), laravel/framework contains 283,137 total lines: 134,611 code, 111,077 comments, 37,449 blank, across 1,846 files in 5 languages (top: PHP 96.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

laravel/framework has 134,611 source lines of code out of 283,137 total lines across 1,846 files, counted from the 13.x ref at commit 1de9acf2054c by the OctoCounts tokei engine on 2026-10-23. 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 laravel/framework to commit 1de9acf2054c, 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 large codebase by counted code lines. Code represents 47.5% of all lines, comments represent 39.2%, and the repository averages 73 code lines per file. PHP accounts for 96.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PHP | 1,761 | 277,855 | 130,307 | 110,358 | 37,190 |
| JSON | 40 | 3,930 | 3,930 | 0 | 0 |
| CSS | 2 | 332 | 265 | 12 | 55 |
| JavaScript | 2 | 123 | 109 | 0 | 14 |
| Markdown | 41 | 897 | 0 | 707 | 190 |

Top language (PHP 96.8%). Generated at 2026-10-23T07:21:13.732601944+00:00. Canonical report: https://octocounts.com/github/laravel/framework

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/laravel/framework/commit/1de9acf2054cb360659200135e5c246320c7f330?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&reportId=790b152060715c001a007499bba8de11df504aa3f5dc611d6e73f3d7d6c85668).

## Report FAQ

### How many lines of code does laravel/framework have?

laravel/framework has 283,137 total lines, including 134,611 code lines, 111,077 comment lines, and 37,449 blank lines.

### How was the laravel/framework line count measured?

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

### What commit was counted for laravel/framework?

This OctoCounts report was generated from 13.x at commit 1de9acf2054c on 2026-10-23T07:21:13.732601944+00:00.

## Similar repository reports

- [ad-aures/castopod](https://octocounts.com/github/ad-aures/castopod) — PHP, 133,123 code lines
- [PointOfSalesSystem/opensourcepos](https://octocounts.com/github/PointOfSalesSystem/opensourcepos) — PHP, 120,492 code lines
- [swoole/typephp](https://octocounts.com/github/swoole/typephp) — PHP, 161,059 code lines
- [venturedrake/laravel-crm](https://octocounts.com/github/venturedrake/laravel-crm) — PHP, 93,730 code lines
- [patrikjuniyor/flavor-restaurant](https://octocounts.com/github/patrikjuniyor/flavor-restaurant) — PHP, 86,631 code lines
- [phpbb/phpbb](https://octocounts.com/github/phpbb/phpbb) — PHP, 245,357 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)
