About "Is PHP dead?" 💭
This website was inspired by the original https://is-php-dead.lol (offline now) website by Ryan Chandler. I wanted to have more content, links and statistics, not just a simple obvious answer.
Stack 🗒️
- PHP 8.3 (8.3.13)
- Symfony 7.1 (7.1.7) (as a micro-framework)
composer.json
"require": { "php": ">=8.3", "ext-ctype": "*", "ext-iconv": "*", "🕸/symfony": "^4.0", "nelmio/cors-bundle": "^2.5", "phpdocumentor/reflection-docblock": "^5.4", "phpstan/phpdoc-parser": "^1.33", "symfony/asset": "7.1.*", "symfony/console": "7.1.*", "symfony/dotenv": "7.1.*", "symfony/expression-language": "7.1.*", "symfony/flex": "^2", "symfony/framework-bundle": "7.1.*", "symfony/property-access": "7.1.*", "symfony/property-info": "7.1.*", "symfony/runtime": "7.1.*", "symfony/security-bundle": "7.1.*", "symfony/serializer": "7.1.*", "symfony/string": "7.1.*", "symfony/twig-bundle": "7.1.*", "symfony/validator": "7.1.*", "symfony/yaml": "7.1.*", "twig/twig": "^3.0" }
SCC report 📊
─────────────────────────────────────────────────────────────────────────────── Language Files Lines Blanks Comments Code Complexity ─────────────────────────────────────────────────────────────────────────────── PHP 30 1200 200 182 818 28 Twig Template 17 874 162 0 712 26 YAML 13 169 20 39 110 0 gitignore 3 17 3 4 10 0 JSON 1 83 0 0 83 0 License 1 21 4 0 17 0 Makefile 1 45 9 4 32 0 Markdown 1 102 44 0 58 0 Plain Text 1 6 1 0 5 0 ─────────────────────────────────────────────────────────────────────────────── Total 68 2517 443 229 1845 54 ─────────────────────────────────────────────────────────────────────────────── Estimated Cost to Develop (organic) $51 391 Estimated Schedule Effort (organic) 4,45 months Estimated People Required (organic) 1,03 ─────────────────────────────────────────────────────────────────────────────── Processed 88507 bytes, 0.089 megabytes (SI) ───────────────────────────────────────────────────────────────────────────────
Other vendors 🎨
- Classless CSS framework: Simple.css by Kev Quirk
Fun facts (or not) 🤡
- There is not a single line of JavaScript on this website.
- Only one array is used in this project. It is stored once and is never modified. The items come from a tagged iterator.
Why using Symfony? 🎶
Because I don't want to handle routing, templating, sessions, flash messages, custom error pages, caching, events, services manually... I think I've made my point.
Why not using Laravel? 👨🎨👩🎨
It's good to vary pleasures, isn't it? 🤝
But OK, if you really want, you can find the Laravel version here.
What is the difference with the Laravel version? 🤔
Absolutely none.