<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>The Strangebuzz PHP/Symfony blog.</title>
    <subtitle>Articles for the "form" tag.</subtitle>
    <updated>2026-11-09T18:37:36+01:00</updated>
    <author>
        <name>COil</name>
        <email>coil@strangebuzz.com</email>
    </author>
    <link href="https://www.strangebuzz.com/en/blog/tag/form.xml" rel="self" />
    <id>https://www.strangebuzz.com/en/blog/tag/form.xml</id>
    <icon>https://www.strangebuzz.com/img/strangebuzz_132.jpg?6.4.9</icon>
    <logo>https://www.strangebuzz.com/img/strangebuzz_1024.jpg?6.4.9</logo>
    <rights> © 2026 Strangebuzz</rights>
                            <entry>
            <title>Using Symfony forms with PHP typed properties
</title>
            <link href="https://www.strangebuzz.com/en/blog/using-symfony-forms-with-php-typed-properties" />
            <id>https://www.strangebuzz.com/en/blog/using-symfony-forms-with-php-typed-properties</id>
            <published>2023-05-20T00:00:00+02:00</published>
            <updated>2023-05-20T00:00:00+02:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we see how to use Symfony forms with PHP typed properties and non-nullable one. Let&#039;s see the problems that can occur and how to handle them.
</summary>
        </entry>
                            <entry>
            <title>Replacing manual API endpoints with API Platform 3 in a Symfony application</title>
            <link href="https://www.strangebuzz.com/en/blog/replacing-manual-api-endpoints-with-api-platform-3-in-a-symfony-application" />
            <id>https://www.strangebuzz.com/en/blog/replacing-manual-api-endpoints-with-api-platform-3-in-a-symfony-application</id>
            <published>2022-11-19T00:00:00+01:00</published>
            <updated>2022-12-08T00:00:00+01:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we rewrite a previous article that used API Platform 2.6 to use the new major version of API Platform 3.  
</summary>
        </entry>
                            <entry>
            <title>The PHP exceptions&#039; cheat sheet</title>
            <link href="https://www.strangebuzz.com/en/blog/the-php-exceptions-cheatsheet" />
            <id>https://www.strangebuzz.com/en/blog/the-php-exceptions-cheatsheet</id>
            <published>2021-10-02T00:00:00+02:00</published>
            <updated>2021-10-02T00:00:00+02:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">This post is different from what I use to do. It will be a reference, a &quot;cheat sheet&quot; mentioning all available exceptions with PHP.
</summary>
        </entry>
                            <entry>
            <title>Securing an API with JWT and API Platform</title>
            <link href="https://www.strangebuzz.com/en/blog/securing-an-api-with-jwt-and-api-platform" />
            <id>https://www.strangebuzz.com/en/blog/securing-an-api-with-jwt-and-api-platform</id>
            <published>2020-12-31T00:00:00+01:00</published>
            <updated>2020-12-31T00:00:00+01:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we will see how to secure an API with JWT and API Platform. We will generate JWT security tokens thanks to the lexik/jwt-authentication-bundle, and we will take advantage of the new property security parameter introduced in API Platform 2.6.
</summary>
        </entry>
                            <entry>
            <title>Replacing manual API endpoints by API Platform in a Symfony application</title>
            <link href="https://www.strangebuzz.com/en/blog/replacing-manual-api-endpoints-by-api-platform-in-a-symfony-application" />
            <id>https://www.strangebuzz.com/en/blog/replacing-manual-api-endpoints-by-api-platform-in-a-symfony-application</id>
            <published>2020-12-03T00:00:00+01:00</published>
            <updated>2021-09-03T00:00:00+02:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we will see how API Platform can help us to document and migrate manual endpoints in a Symfony application. We will see concrete examples related to this blog application.
</summary>
        </entry>
                            <entry>
            <title>What are your Symfony best practices?</title>
            <link href="https://www.strangebuzz.com/en/blog/what-are-your-symfony-best-practices" />
            <id>https://www.strangebuzz.com/en/blog/what-are-your-symfony-best-practices</id>
            <published>2019-12-22T00:00:00+01:00</published>
            <updated>2021-12-24T00:00:00+01:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we will check all the Symfony best practices listed in the official documentation. For each one, I will say if I agree with it or not and why.
</summary>
        </entry>
                            <entry>
            <title>Implementing a honeypot in a Symfony form</title>
            <link href="https://www.strangebuzz.com/en/blog/implementing-a-honeypot-in-a-symfony-form" />
            <id>https://www.strangebuzz.com/en/blog/implementing-a-honeypot-in-a-symfony-form</id>
            <published>2019-12-07T00:00:00+01:00</published>
            <updated>2019-12-07T00:00:00+01:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we will see how to implement a simple honeypot in a Symfony form to avoid spam. We will try it on a newsletter form with a unique email field. We&#039;ll also log what is blocked by the trap to check if it works correctly.
</summary>
        </entry>
                            <entry>
            <title>Disable the HTML5 validation of all your Symfony forms with a feature flag</title>
            <link href="https://www.strangebuzz.com/en/blog/disable-the-html5-validation-of-all-your-symfony-forms-with-a-feature-flag" />
            <id>https://www.strangebuzz.com/en/blog/disable-the-html5-validation-of-all-your-symfony-forms-with-a-feature-flag</id>
            <published>2019-06-29T00:00:00+02:00</published>
            <updated>2019-07-01T00:00:00+02:00</updated>
            <author>
                <name>COil</name>
                <email>coil@strangebuzz.com</email>
            </author>
            <summary type="html">In this post, we will see how to implement a simple feature flag. This flag will help us to debug our forms and will allow to disable the HTML5 client side validation of all the forms of an application.
</summary>
        </entry>
    </feed>
