PHP: Symfony 5.3 does away with encoding functions

    Spread the love

    Sensio Labs has launched model 5.three of the well-known PHP framework Symfony. Along with Buxfixes, the replace accommodates quite a few new options – which, nonetheless, shouldn’t have any impact on downward compatibility.

    Symfony 5.three now routinely generates Config Builder courses for all put in bundles in order that builders can configure their functions with PHP by way of a fluent interface. As well as, with the present model, Symfony helps negatable command choices, that are supposed to simplify the definition of two associated however reverse choices in a console command. A single negable possibility creates two choices within the command that match the sample --xxx and --no-xxx penalties. It ought to be famous that negatable choices are solely accessible for these that don’t permit the switch of a worth.

    The present model additionally has a kind theme for the CSS framework Tailwind CSS. It’s based mostly on Tailwind CSS 2.x and the official Tailwind CSS kind plug-in.

    With PasswordHasher the Symfony growth staff introduces a brand new element. Symfony initially used the time period “password encoding” as a substitute of “password hashing”, which apparently led to confusion, particularly for newcomers. The brand new element is meant to repair this downside by extracting all present code and all options that need to do with “password encoding” and renaming it to “password hashing”. All “encoding” capabilities are actually deprecated (outdated) and ought to be dropped with Symfony 6.0.

    Extra details about the minor model can be found in the release notes. As well as, Sensio Labs is posting a Collection of articles about the individual new features of the 5.3 version are available.




    Please enter your comment!
    Please enter your name here