The project stack

Here is the technical stack I use on this project. Lots of open-source of course, what else? 😜 As you can see, the base is a LAMP stack (Linux, Apache, MySQL, PHP).
As I have already migrated the project to Symfony 5, you are sure that the bundles listed here support it. This is very important if you start a project from scratch. Choose your bundles very wisely... or it could turn into a nightmare later! πŸ˜‡

The main components

Name Version Logo Notes
Linux Ubuntu Server 18.04 LTS <b>L</b>inux It's is my preferred Linux distribution. Stable, easy to use and maintain.
Apache 2.4 <b>A</b>pache I don't need extra performance so Apache is OK as the web server. It's stable and easy to configure.
MySQL 5.7 <b>M</b>ySQL I think MySQL lives its last days on this blog. I am planning to switch to PostgreSQL soon.
PHP 7.4 <b>P</b>HP PHP isn't the "ugly" and mocked language it was 15 years ago anymore. It is now mature and it's ecosystem with composer is amazing. To have the latest PHP version, I use the execellent repositories of OndΕ™ej SurΓ½.
Redis 5.0 Redis In-memory data structure store I use here as a cache system and to store PHP sessions.
Symfony 5.2 Symfony The PHP framework for professionals.
Docker 19 Docker Unmissable Docker. I used it locally to have at my disposal the MySQL, Adminer, Elasticsearch, Elasticsearch Head, Kibana and Redis services.
Elasticsearch 6.8 Elasticsearch You know, for search. Don't miss my three parts tutorial: Implementing a search engine with elasticsearch and Symfony.

The frontend stack

Name Logo Notes
Vue.js Vue.js Vue.js is THE Progressive JavaScript Framework. I am seriously playing with it since 2020, and it I must say it's impressive. It opens infinite possibilities and radically changes the way you develop websites.
Yarn Yarn Yarn is a JavaScript package manager and an alternative to NPM. I wanted to give a try, and I'm not disappointed. It's faster than NPM and works with a .lock file, so you don't have surprises when installing the package on different servers.
Webpack Webpack Webpack bundles your assets: images, CSS and JavasSript in the most optimized possible way. It makes it the perfect companion for Vue.js and all your JavaScript code.
Material Kit Pro Material Kit Pro Material Kit is an excellent HTML framework based on Bootstrap. It allows me to have a clean design without creating custom CSS.

The Symfony bundles

I won't list here all the Symony components I use. Check out the full composer.json file below to have the exhaustive list. Perhaps I can mention the symfony/string because it's new and it's not available for Symfony 4. This is one of the main reason I wanted the blog to be upgraded to Symfony 5 so I can use this new powerful component.

Name Notes
antishov/doctrine-extensions-bundle Fork of stof/doctrine-extensions-bundle that is compatible with Symfony 5.
babdev/pagerfanta-bundle Fork of whiteoctober/WhiteOctoberPagerfantaBundle that is compatible with Symfony 5.
doctrine/doctrine-bundle Bundle for all the Doctrine ORM stuff.
doctrine/doctrine-fixtures-bundle Allows to load development fixtures in the database.
easycorp/easyadmin-bundle The most easy to use admin generator for Doctrine.
egulias/email-validator Not a bundle but allows to use the strict mode when using the Symfony email validator.
friendsofsymfony/elastica-bundle Integrates the PHP Elastica library in your Symfony project.
liip/imagine-bundle Provides an image manipulation abstraction toolkit.
mhujer/breadcrumbs-bundle Fork of whiteoctober/BreadcrumbsBundle that is compatible with Symfony 5.
snc/redis-bundle Integrates the PHP predis library in your Symfony application.
lexik/jwt-authentication-bundle Allows to generate and verify JWT token. Check out this article.

Dev / DevOps / coding standards / static analysis

All is listed here corresponds to the require-dev section of the composer file.

Name Notes
api-platform/schema-generator Generates a PHP data model from the vocabulary.
easycorp/easy-deploy-bundle Easiest way to deploy your Symfony application without downtime.
phpstan/phpstan Static code analysis to find errors in your code without actually running it.
phpstan/phpstan-symfony It's the Symfony plugin for PHPStan so it's aware of specific Symfony stuff like the dependency injection container.
roave/security-advisories This is a library every project should contain. It ensures that your application doesn't have installed dependencies with known security vulnerabilities.
squizlabs/php_codesniffer Check and fix the PHP coding standards of your application.
hautelook/alice-bundle Fixtures loading make easy. This bundle make your life easier and will save you a lot of hours of work.

The full composer.json file

As you can see there is a little "hack", so I can use my fork of the FOSElasticaBundle instead of the official one. I had to do this because the official bundle is not compatible yet with Symfony 5.

    "type": "project",
    "license": "proprietary",
    "name": "coil/strangebuzz",
    "description": " blog",
    "minimum-stability": "beta",
    "prefer-stable": true,
    "repositories": {
        "coil_foselasticabundle": {
            "type": "vcs",
            "url": ""
    "require": {
        "php": ">=7.4.0",
        "ext-ctype": "*",
        "ext-dom": "*",
        "ext-filter": "*",
        "ext-gd": "*",
        "ext-iconv": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-pdo": "*",
        "antishov/doctrine-extensions-bundle": "^1.4",
        "api-platform/core": "^2.6",
        "babdev/pagerfanta-bundle": "^2.1",
        "composer/package-versions-deprecated": "",
        "doctrine/annotations": "^1.0",
        "doctrine/doctrine-bundle": "^2",
        "doctrine/doctrine-fixtures-bundle": "^3.0",
        "doctrine/doctrine-migrations-bundle": "^3.0",
        "doctrine/orm": "^2",
        "easycorp/easy-deploy-bundle": "^1.0",
        "easycorp/easyadmin-bundle": "^3.0",
        "egulias/email-validator": "^2.1",
        "erusev/parsedown": "^1.7",
        "friendsofsymfony/elastica-bundle": "v5.1.3",
        "hautelook/alice-bundle": "^2.8",
        "lexik/jwt-authentication-bundle": "^2.10",
        "liip/imagine-bundle": "^2.1",
        "mhujer/breadcrumbs-bundle": "^1.5",
        "nelmio/cors-bundle": "^2.1",
        "phpdocumentor/reflection-docblock": "^5.2",
        "predis/predis": "^1.0",
        "ramsey/uuid-doctrine": "^1.6",
        "sensio/framework-extra-bundle": "^5.5",
        "sensiolabs/ansi-to-html": "^1.1",
        "snc/redis-bundle": "~3.0",
        "symfony/asset": "^5.2",
        "symfony/cache": "^5.2",
        "symfony/console": "^5.2",
        "symfony/debug-pack": "^1.0",
        "symfony/dotenv": "^5.2",
        "symfony/error-handler": "^5.2",
        "symfony/expression-language": "^5.2",
        "symfony/flex": "^1.3",
        "symfony/form": "^5.2",
        "symfony/framework-bundle": "^5.2",
        "symfony/http-client": "^5.2",
        "symfony/http-kernel": "^5.2",
        "symfony/mime": "5.2.*",
        "symfony/monolog-bundle": "^3.4",
        "symfony/process": "^5.2",
        "symfony/property-access": "5.2.*",
        "symfony/property-info": "5.2.*",
        "symfony/rate-limiter": "5.2.*",
        "symfony/requirements-checker": "^2.0",
        "symfony/security-bundle": "^5.2",
        "symfony/serializer": "5.2.*",
        "symfony/string": "^5.2",
        "symfony/thanks": "^1.1",
        "symfony/twig-bundle": "^5.2",
        "symfony/validator": "^5.2",
        "symfony/web-link": "^5.2",
        "symfony/webpack-encore-bundle": "^1.7",
        "symfony/yaml": "^5.2",
        "twig/extra-bundle": "^2.12|^3.0",
        "twig/markdown-extra": "^3.0",
        "twig/twig": "^2.12|^3.0"
    "require-dev": {
        "ekino/phpstan-banned-code": "^0.3.1",
        "friendsofphp/php-cs-fixer": "^2.16",
        "justinrainbow/json-schema": "^5.2",
        "phpstan/extension-installer": "^1.0",
        "phpstan/phpstan-deprecation-rules": "^0.12.5",
        "phpstan/phpstan-symfony": "^0.12",
        "phpunit/phpunit": "^9.5",
        "roave/security-advisories": "dev-master",
        "squizlabs/php_codesniffer": "3.*",
        "symfony/browser-kit": "^5.2",
        "symfony/css-selector": "^5.2",
        "symfony/maker-bundle": "^1.0",
        "symfony/phpunit-bridge": "^5.2",
        "symfony/profiler-pack": "*"
    "config": {
        "optimize-autoloader": true,
        "preferred-install": {
            "*": "dist"
        "sort-packages": true,
        "platform": {
            "php": "7.4"
    "autoload": {
        "psr-4": {
            "App\\": "src/"
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/"
    "replace": {
        "symfony/polyfill-iconv": "*",
        "symfony/polyfill-php71": "*",
        "symfony/polyfill-php70": "*",
        "symfony/polyfill-php56": "*"
    "conflict": {
        "symfony/symfony": "*"
    "extra": {
        "symfony": {
            "allow-contrib": true,
            "require": "5.2.*"
    "scripts": {
        "auto-scripts": {
        "post-install-cmd": [
        "post-update-cmd": [