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 bundle 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.0 Symfony The PHP framework for professionals.

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.

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.

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 add 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": "stable",
    "prefer-stable": true,
    "repositories": {
        "coil_foselasticabundle": {
            "type": "vcs",
            "url": ""
    "require": {
        "php": ">=7.4.0",
        "ext-dom": "*",
        "ext-filter": "*",
        "ext-gd": "*",
        "ext-iconv": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-pdo": "*",
        "antishov/doctrine-extensions-bundle": "^1.4",
        "api-platform/core": "^2.1",
        "babdev/pagerfanta-bundle": "^2.0",
        "doctrine/doctrine-bundle": "^2.0",
        "doctrine/doctrine-fixtures-bundle": "^3.0",
        "easycorp/easyadmin-bundle": "^2.3",
        "egulias/email-validator": "^2.1",
        "friendsofsymfony/elastica-bundle": "^5.1",
        "liip/imagine-bundle": "^2.1",
        "mhujer/breadcrumbs-bundle": "^1.5",
        "predis/predis": "^1.0",
        "sensiolabs/ansi-to-html": "^1.1",
        "snc/redis-bundle": "~3.0",
        "spiral/roadrunner": "^1.6",
        "symfony/asset": "^5.0",
        "symfony/cache": "^5.0",
        "symfony/console": "^5.0",
        "symfony/debug-pack": "^1.0",
        "symfony/dotenv": "^5.0",
        "symfony/error-handler": "^5.0",
        "symfony/expression-language": "^5.0",
        "symfony/flex": "^1.0",
        "symfony/form": "^5.0",
        "symfony/framework-bundle": "^5.0",
        "symfony/http-client": "^5.0",
        "symfony/monolog-bundle": "^3.4",
        "symfony/orm-pack": "^1.0",
        "symfony/process": "^5.0",
        "symfony/requirements-checker": "^1.1",
        "symfony/security-bundle": "^5.0",
        "symfony/serializer-pack": "^1.0",
        "symfony/string": "^5.0",
        "symfony/thanks": "^1.1",
        "symfony/twig-bundle": "^5.0",
        "symfony/validator": "^5.0",
        "symfony/web-link": "^5.0",
        "symfony/webpack-encore-bundle": "^1.0",
        "symfony/yaml": "^5.0"
    "require-dev": {
        "api-platform/schema-generator": "^2.0",
        "easycorp/easy-deploy-bundle": "^1.0",
        "phpstan/phpstan": "^0.12",
        "phpstan/phpstan-symfony": "^0.12",
        "phpunit/phpunit": "^8",
        "roave/security-advisories": "dev-master",
        "squizlabs/php_codesniffer": "3.*",
        "symfony/browser-kit": "^5.0",
        "symfony/css-selector": "^5.0",
        "symfony/maker-bundle": "^1.9",
        "symfony/phpunit-bridge": "^5.0",
        "symfony/profiler-pack": "*"
    "config": {
        "preferred-install": {
            "*": "dist"
        "sort-packages": true,
        "platform": {
            "php": "7.4.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.0"
    "scripts": {
        "auto-scripts": {
        "post-install-cmd": [
        "post-update-cmd": [