7 ms·
> cat `find * -type f | grep .php` | wc -l I have a project that is going on since 2015. So ran the above command to see how much code we have. I was expecting
by ooooak 7y ago
> cat `find * -type f | grep .php` | wc -l
I have a project that is going on since 2015. So ran the above command to see how much code we have. I was expecting our models to be really large turns out we have ~(404 * 3) rest endpoints. the scariest thing was Vendor dir.
LOC per dir
Models: 15053
HTTP Endpoints: 28877
migrations: 49757
Laravel: 81728 (Framework)
Vendor: 1158299 (third party php code)
Total: 1797417
- guessmyname 7y agoTokei [1] provides interesting stats as well. [1] https://github.com/XAMPPRocky/tokei https://github.com/XAMPPRocky/tokei