Skip to content

Instantly share code, notes, and snippets.

Symfony Certification: A Journey Toward Its Rewards

If you are developing applications using Symfony, you may have heard about the Symfony certification, which is an exam that validates your skills and knowledge about the Symfony framework and components.

And, you might have asked yourself:

  • What is exactly the Symfony certification?
  • What's the purpose of being certified?
  • How long does it take?
  • Is there any tips and tricks for efficient revising?
@mtarld
mtarld / serializer_revamp_pr_description.md
Created October 11, 2023 09:48
PR description of "[Serializer] Putting the serializer component on steroids"
Q A
Branch? 7.0
Bug fix? no
New feature? yes
Deprecations? no
Tickets
License MIT
Doc PR TODO

Which of these outputs will be bar?

$arr = [1, 2, 3];

$foo = "bar";

array_map(function ($elem) use ($foo) {
  $foo = $foo . $elem;
@mtarld
mtarld / Dockerfile
Created April 21, 2022 14:23
Install Symfony CLI in docker (php-fpm-alpine)
FROM php:8.1-fpm-alpine
RUN VERSION=$(curl --silent "https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/') \
&& wget https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_x86_64.apk -O symfony-cli.apk \
&& apk add symfony-cli.apk --allow-untrusted \
&& rm -f symfony-cli.apk
@mtarld
mtarld / aliases.sh
Last active January 24, 2021 13:29
Aliases
# Basic
alias ll='ls -lAh'
alias dc='docker-compose'
# Tmux
alias mux='tmuxinator'
alias ta='tmux a'
alias te='tmuxinator edit'
alias tls='tmux ls'
alias tn='tmuxinator new'
@mtarld
mtarld / switch-php
Created January 24, 2021 13:24
PHP switcher
#!/bin/bash
# Choose target PHP
phpList=$(ls /usr/bin | grep -P 'php[0-9.]+' | awk '{print NR-1 ": " $0}')
printf "Actual version: $(php -v | head -1 | grep -o 'PHP [0-9.]*')\n\nAvailable versions:\n$phpList\n\nChoose a PHP version: "
read php
php=$(echo "$phpList" | grep "^$php: .*" | cut -d" " -f2)