Tools for PHP that you will ❤️ Hash tag #nettefw. Search https://xitter.cf/t.co/e5HDU8PsRh

Joined January 2009
Whenever we clone an object in Nette, the copy is called $dolly. Named after the sheep, who was named after her. She's in 34 places across our libraries, and she's staying there. RIP Dolly Parton 💛
7
746
Sending an email is one line of code. Getting it delivered is a whole discipline, and Gmail keeps moving the goalposts. Nette Mail 4.2.0 brings what the big providers demand today: OAuth 2.0, one-click unsubscribe, modern DKIM. Update and nothing breaks. blog.nette.org/en/nette-mail…
1
268
End of CSRF cookies. Nette Http 3.4 switches protection from a cookie to Sec-Fetch headers. And it brings a new API: the isFrom() method lets you declare where a request may come from – and unlike the old cookie, it can tell same-origin from same-site. blog.nette.org/en/quarter-ce…
1
2
229
A user’s avatar. An image preview in a comment. A URL sent by your AI. Whenever your PHP app fetches a URL it didn’t pick itself, it’s an SSRF target. One of the OWASP Top 10. Nette 3.4 fixes it in a single line. blog.nette.org/en/nette-http…
1
4
250
AI agents are flipping priorities in PHP 🔻PhpStorm is no longer a must-have 🔼PHPStan is becoming mandatory The agent doesn't need anyone to autocomplete. It needs someone to keep an eye on it. Running all your code through PHPStan at level 8 is now basic hygiene, not a luxury
1
4
1
11
1,078
Tracy 2.12 learned a new dialect. When an AI agent sits at the monitor instead of a human, it gets structured markdown straight into the JS console. And next to every .html exception in the log/ folder there’s now a .md sibling. blog.nette.org/en/tracy-debu…
1
3
263
Running external programs in PHP used to be a choice between two evils: shell_exec() can barely do anything, proc_open() does everything but its API was clearly designed by someone who doesn't like people :-) So I wrote Nette\Utils\Process. blog.nette.org/en/running-ex…
1
1
5
352
Before: 35 lines of HTML riddled with htmlspecialchars After: 12 lines of clean Latte Bonus: no runtime baggage. No XSS. PHPStan approves. How do you write templates in Latte but ship plain .phtml with zero dependencies? Latte as a ghost in the machine 👻 blog.nette.org/en/latte-temp…
2
293
Latte in Tracy? Overkill! Yes. And yet I did it – just not the way you'd expect. Latte templates get compiled into static .phtml files before commit. An elegant solution you wouldn't think was even possible. New article on how to do it: 🔗 blog.nette.org/en/latte-temp…
1
7
532
🔥 GAME CHANGER for Nette developers! Claude Code now has deep knowledge of the entire Nette ecosystem. ✓ Knows best practices for presenters, forms, DI, … ✓ Validates Latte and NEON on every save ✓ This will change the way you do PHP‼️ github.com/nette/claude-code #nettefw
3
2
7
558
PHP 8.5 brings the Pipe Operator |> 🎉 🚀 Fast? Not a chance. 👀 Readable? Only on slides. ✨ Useful? About as much as a waterproof tea bag. Read why it’s just lipstick on a pig and why I’ll (sadly) stick with helper variables. 👇 phpfashion.com/en/pipe-opera… #php #php85
1
8
409
From the first pencil strokes to the finished design. That is how software libraries come to life.
1
7
564
🚀 I've just released the ultimate guide for Latte: Learn how to create custom tags and "passes". It's so comprehensive that it increased the size of the already extremely detailed documentation by 50% 📈 #php #twig #blade #smarty #phpcon_odawara latte.nette.org/en/extending…
2
10
520