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 > tanu_priya > how-do-backend-developers-secure-apis-4ho1

How Do Backend Developers Secure APIs?

40+ min ago   (773+ words) Building an API is only half the job. Once an API is exposed to real users, you have to think about what happens when someone sends unexpected input, calls an endpoint they shouldn't, sends thousands of requests, or gets access…...


dev.to > thefoxlab > building-reliable-api-integrations-for-php-web-applications-3e1

Building Reliable API Integrations for PHP Web Applications

2+ hour, 50+ min ago   (352+ words) Connecting these services through APIs can reduce manual data entry and help different applications work together. However, a reliable integration requires more than sending an HTTP request and receiving a response. 1. Understand the Data Flow First Before implementing an API…...


dev.to > johndivam > laravel-app-was-slow-heres-how-i-fixed-it-19hj

Laravel app was slow. Here's how I fixed it

6+ hour, 50+ min ago   (156+ words) Imagine fetching 100 users, each with related posts and comments. Without optimization, your app might execute 1000+ queries just to load a single page! The result? Slow performance, wasted resources, and frustrated users. Let’s fix it step by step: 2️⃣ Database Indexing Add…...


medium.com > @issuesphp > issuesphp-framework-multiple-database-connections-bc5601cffbaf

IssuesPHP Framework Multiple database connections

12+ hour, 8+ min ago   (78+ words) The IssuesPHP Framework allows you to connect to up to 12 different databases using PDO; let’s look at some examples. In the `Database.php` file, there is a default connection; if the `DB_NUMBER` constant is left empty or assigned the value 1, it…...


medium.com > @laurentmn > the-silent-bug-in-your-doctrine-postflush-listener-and-how-to-fix-it-65348ff88eac

🧨 The Silent Bug in Your Doctrine postFlush Listener (and How to Fix It)

17+ hour, 25+ min ago   (219+ words) Targets Symfony 7, Doctrine ORM 3, PostgreSQL 15+, Redis 7 and PHP 8.3. Imports are left out of the listings to keep them short. Your use case saves an order. Then it tells the rest of the system that the order exists. That makes two…...


medium.com > mobilebytesensei > the-placeholder-listing-that-almost-went-live-c1a3aa880a90

The placeholder listing that almost went live

19+ hour, 55+ min ago   (124+ words) Your app profile ships with the template’s store copy. Nothing fails if you forget to replace it — the store just publishes what you gave it. Every project scaffolded from a template inherits that template’s store listing. A name, a short…...


patrickwanchinyeep.medium.com > php-8-5-pipes-clean-urls-and-fewer-footguns-91e3b8bd9851

PHP 8.5: Pipes, Clean URLs and Fewer Footguns

20+ hour, 43+ min ago   (166+ words) The biggest syntax change in years makes PHP read like a data pipeline, and the rest of the release quietly fixes old annoyances PHP 8.5 shipped on … PHP 8.5: Pipes, Clean URLs and Fewer Footguns The biggest syntax change in years makes…...


dev.to > saravana_bhava > wordpress-crash-recovery-plugin-conflict-resolution-4j0p

WordPress Crash Recovery & Plugin Conflict Resolution

22+ hour, 34+ min ago   (284+ words) When a WordPress site crashes immediately after an update, the immediate business impact is lost revenue, disrupted customer workflows, and compromised search standing. In production environments, standard advice like "restore a backup from yesterday" can cause critical data loss: orders…...


dev.to > omeiza_ahmed > principle-of-least-privilege-does-your-app-really-need-admin-access-456n

Principle of Least Privilege: Does Your App Really Need Admin Access?

23+ hour, 27+ min ago   (367+ words) Your reporting service only reads sales data. So why does its database account also have permission to delete customers? Extra permissions are easy to grant during development—and easy to forget afterward. The principle of least privilege helps prevent that…...


dev.to > serhii_a9c08345ac360cf5c8 > prevent-telegram-callback-timeouts-and-64-byte-payload-truncation-in-php-20ko

Prevent Telegram Callback Timeouts and 64-Byte Payload Truncation in PHP

1+ day, 1+ min ago   (781+ words) Imagine building a real-time order management dashboard inside Telegram for an e-commerce platform or restaurant network. When a customer places an order, your server dispatches an alert message to a staff channel. Attached to this message is an inline keyboard…...