PHP

Modern PHP, frameworks, Composer, and production patterns.

  • 5 Tracked terms
  • Last 30 days Feed window

What this topic collects on

An article joins this feed when it matches these terms. Each one is also a search of its own.

Latest in PHP


dev.to > serhii_a9c08345ac360cf5c8 > securely-authenticate-users-with-the-telegram-login-widget-in-php-and-yii2-4n4l

Securely Authenticate Users with the Telegram Login Widget in PHP and Yii2

4+ hour, 14+ min ago   (222+ words) This guide demonstrates how to build a secure backend validator in PHP to verify the Telegram Login Widget payload using HMAC-SHA-256, enforce strict expiration checks on the authentication timestamp, and map the validated Telegram ID to a user record in…...


dev.to > tiaya > a-real-world-case-of-recursion-done-right-in-php-428k

A real world case of recursion done right in PHP

10+ hour, 20+ min ago   (399+ words) Nick Cosentino @DevLeaderCa posted this message about recursion on X, ex Twitter, in October 2025,... Tagged with algorithms, ui, php, recursion....


dev.to > anashussain284 > 10-the-builder-pattern-stop-writing-10-parameter-constructors-2mhk

The Builder Pattern: Stop Writing 10-Parameter Constructors

11+ hour, 35+ min ago   (766+ words) 1. Hook & Problem Statement You're building a Laravel application. You need to send a... Tagged with php, laravel, oop, designpatterns....


dev.to > serhii_a9c08345ac360cf5c8 > build-a-resilient-telegram-bot-service-layer-in-yii2-2gl7

Build a Resilient Telegram Bot Service Layer in Yii2

13+ hour, 12+ min ago   (438+ words) When building production-grade Telegram bots in Yii2, developers often make the mistake of writing ad-hoc cURL requests inside controllers or console commands. This approach leads to duplicated code, poor error visibility, and fragile integrations that break under network latency or API…...


dev.to > luke_gree_fc8780a9e7 > your-plugin-system-couldnt-replace-plugins-so-heres-the-transaction-that-youre-missing-21lm

Your plugin system couldn't replace plugins. So here's the transaction that you're missing.

17+ hour, 42+ min ago   (27+ words) An upgrade fails halfway through activating. And what is still running? In most of the plugin systems, the answer is: none. Tagged with javascript, typescript, architecture, webdev....


dev.to > samuel_guimaraes > tirando-o-projeto-do-localhost-como-publicar-sua-primeira-pagina-web-gratuitamente-no-github-pages-ooe

Tirando o Projeto do Localhost: Como Publicar Sua Primeira Página Web Gratuitamente no GitHub Pages

23+ hour, 31+ min ago   (370+ words) Quem está nos primeiros semestres de Análise e Desenvolvimento de Sistemas (ADS) conhece bem essa rotina: criamos uma página HTML/CSS incrível, testamos no navegador (abrindo o arquivo direto da pasta ou pelo Live Server do VS Code) e tudo…...


dev.to > eniyisunucum > stop-hosting-client-wordpress-sites-in-one-shared-account-385b

Stop Hosting Client WordPress Sites in One Shared Account

1+ day, 2+ hour ago   (1233+ words) Hosting ten client sites is not the same problem as hosting one site ten times. The difference is not storage capacity or the number of domains a control panel accepts. It is the size of the failure domain: which clients…...


medium.com > @ortegavan > o-front-end-como-ativo-de-neg%C3%B3cio-9aa782e20979

O front-end como ativo de negócio

22+ hour, 41+ min ago   (225+ words) Só tela? O que a ciência e o mercado dizem sobre o valor do front-end Em 11 de agosto de 2020, o Citibank tinha uma operação de rotina pela frente: repassar US$ …...


dev.to > authbyexample1 > pull-the-tenant-from-the-auth-context-not-the-request-body-dag

Pull the tenant from the auth context, not the request body

1+ day, 6+ hour ago   (252+ words) In multi-tenant apps, a common bug is reading tenant_id from the JSON body or query string and then authorizing against that value. Anyone can send tenant_id=other-customer. The tenant for an authorization check must come from the authenticated principal or server-side session…...


dev.to > mindinu > how-eventual-consistency-breaks-system-logic-and-how-to-handle-it-in-distributed-systems-15cg

How Eventual Consistency Breaks System Logic (And How to Handle It in Distributed Systems)

1+ day, 7+ hour ago   (282+ words) When building distributed microservices, moving away from monolithic ACID transactions to eventual consistency is often touted as the ultimate cure for scalability bottlenecks. But eventual consistency introduces a silent killer: race conditions between data propagation and business rules. In a…...