Security Tip: Don't Use nl2br()!
As useful as it sounds, nl2br() can potentially leave you open to Cross-Site Scripting (XSS) vulnerabilities... you should reach for CSS instead!
Here are all the articles for the tag PHP.
As useful as it sounds, nl2br() can potentially leave you open to Cross-Site Scripting (XSS) vulnerabilities... you should reach for CSS instead!
Long-term projects are hard to maintain and deal with but these code quality tools can help you out if you use them consistently.
This advent time the fun is provided from Advent of Code. I can't believe that I have not been participating previous years.
Maybe I should do previous puzzles too...
I rarely use photos on this site and I knew this from the start. I decided to generate Open Graph images myself and it had to be automatic process. So of course Spatie had a package for that called Browsershot.
Juan from Juampi's Blog wrote an interesting article with great examples about testing SEO with Pest.