The Basics of `$wpdb->prepare()` — Why You Should Never Build SQL Queries With String Concatenation
When a WordPress plugin or theme needs to talk to the database directly, it uses the core-provided global object $wpdb. The one thing to absolutely av
php
dev.to
Oct 19, 2026
Real‑time Sync between PostgreSQL and Redis with CDC and Docker: Powering a Next.js UI from Laravel
Why real‑time matters for AI agents
Imagine an AI‑driven testing agent that runs a suite of integration tests and then writes a single row into a tes
php
dev.to
Oct 19, 2026
What we learned running WordPress on Cloudflare Workers
The usual answer to "can WordPress run on Cloudflare?" is no: Workers run JavaScript and WebAssembly, WordPress needs PHP and MySQL, so you either exp
php
dev.to
Oct 19, 2026
Campaigns for Laravel — send one message to many recipients on queued job batches
Most apps grow a "send this to everyone" button sooner or later: a product announcement, a policy update, a back-in-stock alert. A loop in a controlle
php
dev.to
Oct 19, 2026
Lifecycle for Laravel — Eloquent status transitions with quotas, expiry and rollbacks
A status column on an Eloquent model usually starts as an enum and a couple of if checks. Then the rules pile up: who may publish, "at most five activ
php
dev.to
Oct 19, 2026
Charging a saved card when nobody's at checkout: recurring billing in WooCommerce and Magento 2
The first payment of a subscription is the easy one. The customer is at checkout, and if the bank wants a 3D Secure check, the customer is there to pa
php
dev.to
Oct 19, 2026
Letting AI assistants book rentals: an MCP server inside a WordPress plugin
We build Rentals & Bookings, a rental plugin for WooCommerce (and a Magento 2 extension). Since version 1.0.16, the free edition, Lite, lets a store o
php
dev.to
Oct 19, 2026
Getting through WordPress.org plugin review: what counts as "trialware"
We build Rentals & Bookings, a rental and booking plugin for WooCommerce. The free edition, Lite, is on WordPress.org as Sales Igniter Rentals & Booki
php
dev.to
Oct 19, 2026
Building a Netflix-style rental queue: the DVD-by-mail model in WooCommerce and Magento 2
Before streaming, Netflix mailed DVDs. You kept a list of films you wanted. Your plan allowed a set number of discs at home at once. When you mailed o
php
dev.to
Oct 19, 2026
Edi Life OS v1.2: accounts, a one-command Docker install, and my first outside contributors
Less than two weeks after launching Edi Life OS, my self-hosted life dashboard (habits, goals, focus timer, Kanban, finances, plus an MCP server for
php
dev.to
Oct 19, 2026
I'm adding two approvals before a Dolibarr mass mailing can be sent
I contribute to Dolibarr, the open-source ERP and CRM. I am working on this now, on issue #41892: a mass mailing should need two validations, one for
php
dev.to
Oct 19, 2026
PagibleAI CMS 0.13: Review with AI, publish with confidence
PagibleAI is an MIT-licensed CMS for Laravel with visual editing, versioned content, and APIs for headless frontends and AI agents. It runs on PHP 8.2
php
dev.to
Oct 19, 2026
Why Your WHMCS Admin Login Needs More Than a Password
If you run a hosting business on WHMCS, your admin area is the most valuable login you own. It controls client data, invoices, payment gateways and ev
php
dev.to
Oct 19, 2026
Cloudflare JS Challenge Is Breaking My SPA: Laravel Fix
By the end of this, your Laravel SPA will handle Cloudflare challenges instead of crashing on them, and the fix takes about 30 minutes. If your bug re
php
dev.to
Oct 18, 2026
How to Retrieve Data From Database Using Vue in Laravel
HNT-START
TITLE: How to Retrieve Data From Database Using Vue in Laravel
SLUG: how-to-retrieve-data-from-database-using-vue
EXCERPT: Learn how to fetc
php
dev.to
Oct 18, 2026
How to Set Variables in a Laravel Blade Template
Need to create a variable inside a Blade template, calculate a value, and display it without getting an Undefined variable error? You can do it direct
php
dev.to
Oct 18, 2026
Stop Telegram Webhook Retries in Yii2 by Pushing Updates to an Idempotent Queue
Imagine building a booking system inside Telegram where clients pay for service reservations directly through a Mini App or conversational flow. When
php
dev.to
Oct 18, 2026
Fixing PostgreSQL Permission Errors in Laravel PHPUnit Tests
Introduction
When writing automated tests in Laravel, configuring the testing environment correctly is just as important as writing the tests themsel
php
dev.to
Oct 18, 2026
I never return the Eloquent model from my API: one UserResource for every user payload
The first time I shipped a client dashboard against my own API, a user row in the frontend console contained password: "$2y$12$..." and remember_token
php
dev.to
Oct 18, 2026
How to Connect Your App to an SMM Panel API (PHP and Python Examples)
If you run a reseller website, a Telegram bot or a small agency tool, sooner or later you want orders to go to your SMM panel automatically instead of
php
dev.to
Oct 18, 2026