How to Have Good API Documentation in Symfony How to Have Good API Documentation in Symfony API documentation is one of those things every developer understands is important , but it’s also quite easy to put off until “later”, which (let’s be honest) might never actually happen. Whether you’re building a project solo or as part of a team, good documentation is a lifesaver for both your current self and anyone who might (or will!) work with your API in the future. Why Good API Documentation Matters Let’s set the stage: you’re building an API backend with Symfony, and there’s a frontend team eagerly waiting to hook into your endpoints. Without clear, accessible documentation, every conversation becomes an ad-hoc Q&A session. Details get lost, mistakes creep in, and for every new teammate, the onboarding cost gets higher and higher. Good API docs are like a friendly guide—empowering your frontend team to work independently and confidently. But Do...
Enable authentication on Symfony There are many ways to enable authentication on Symfony. The most documented are listed in the documentation (no... really?) . The drawback of those methods is that they tend to push the user to use Doctrine. But I dont use Doctrine on my projects. I wrote the tutorial to show how to do without Doctrine: https://github.com/rakotomandimby/symfony-enable-database-authentication