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.4 (8.4.3)
- Symfony 7.2 (7.2.1) (as a micro-framework)
composer.json
"require": { "php": ">=8.4", "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 1205 202 184 819 29 Twig Template 17 878 162 0 716 27 YAML 13 174 20 38 116 0 gitignore 3 17 3 4 10 0 JSON 1 80 0 0 80 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 2528 445 230 1853 56 ─────────────────────────────────────────────────────────────────────────────── Estimated Cost to Develop (organic) $51625 Estimated Schedule Effort (organic) 4,46 months Estimated People Required (organic) 1,03 ─────────────────────────────────────────────────────────────────────────────── Processed 89124 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.