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.6)
- Symfony 8.0 (8.0.3) (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": "8.0.*",
"symfony/console": "8.0.*",
"symfony/dotenv": "8.0.*",
"symfony/expression-language": "8.0.*",
"symfony/flex": "^2",
"symfony/framework-bundle": "8.0.*",
"symfony/property-access": "8.0.*",
"symfony/property-info": "8.0.*",
"symfony/runtime": "8.0.*",
"symfony/security-bundle": "8.0.*",
"symfony/serializer": "8.0.*",
"symfony/string": "8.0.*",
"symfony/twig-bundle": "8.0.*",
"symfony/validator": "8.0.*",
"symfony/yaml": "8.0.*",
"twig/twig": "^3.0"
}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.