07.12.2021 · News

Neuerungen in Symfony 5.4 / 6.0

Release Prozess

Konsolen Autovervollständigung

PHP Enumerations Support

class VersionControl
{
    public const GIT = 'git';
    public const SVN = 'SVN';
    public const MERCURIAL = 'Mercurial';
    public const BAZAAR = 'Bazaar';
}Code language: PHP (php)
enum VersionControl: string
{
    case GIT = 'git';
    case SVN = 'SVN';
    case MERCURIAL = 'Mercurial';
    case BAZAAR = 'Bazaar';
}Code language: JavaScript (javascript)
class ProjectType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options): void
    {
        $builder
            ->add('versionControl', EnumType::class, ['class' => VersionControl::class, 'expanded' => true])
        ;
    }
}Code language: PHP (php)

Automatische Spracherkennung

Profiler-Verbesserungen

Symfony Screenshot

... und vieles Mehr

P.S. magst du Symfony genauso wie wir und bist offen für neue Herausforderungen? Schick uns dein GitHub Profil, komm auf einen Kaffee vorbei oder schreib uns an – wir sind immer auf der Suche nach neuen Talenten!

Offene Stellen