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 > zaerohell > implementing-proper-multi-tenant-isolation-in-vs-api-controllers-broker-portal-tenant-scoring-2oke

Implementing Proper Multi‑Tenant Isolation in VS API Controllers (Broker Portal & Tenant Scoring)

3+ hour, 3+ min ago   (283+ words) TL;DR: I refactored broker-portal.controller.ts and tenant‑scoring.controller.ts to enforce tenant‑scoped queries and added comprehensive unit tests, raising coverage from 85 % for those modules. The change eliminates cross‑tenant data leakage and gives us a safety…...


laravel-news.com

BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP

12+ hour, 41+ min ago   (348+ words) Or try paginated search → BashBox is a bash interpreter written in pure PHP by Pushpak Chhajed, who also built the Grant roles and permissions package. It runs scripts that AI agents generate without calling proc_open, exec, or shell_exec. Each command is a…...


dev.to > supportpryzma > multi-tenancy-in-net-10-isolating-tenant-data-with-ef-core-named-query-filters-83e

Multi-tenancy in.NET 10: isolating tenant data with EF Core named query filters

9+ hour, 58+ min ago   (523+ words) This article shows how to make that mistake impossible by default in.NET 10. The application resolves the current workspace once per request, EF Core adds the tenant condition to every query, and SaveChanges refuses any write that crosses tenants. The…...


dev.to > biancarus > wordpress-image-renaming-rules-vs-ai-the-alt-text-tools-that-complete-the-workflow-n6b

WordPress Image Renaming: Rules vs. AI + the ALT Text Tools That Complete the Workflow

9+ hour, 58+ min ago   (458+ words) A while ago I wrote about AI ALT text generators. This post goes one step earlier, to the filename, and then comes back to ALT text at the end. I'm starting with the tool I use myself, then moving on…...


dev.to > dcblack87 > how-to-check-whether-your-site-blocks-chatgpt-claude-and-perplexity-31nl

How to check whether your site blocks ChatGPT, Claude and Perplexity

10+ hour, 49+ min ago   (394+ words) Plenty of sites turn AI crawlers away without anyone having decided to. A security plugin, a CDN setting or a line copied into robots.txt years ago is enough. If an assistant cannot fetch your pages, it cannot quote them,…...


medium.com > @baserguvenc > machine-learning-in-php-rubix-ml-tensor-extension-on-a-single-core-epyc-551914074c37

Machine Learning in PHP: Rubix ML + Tensor Extension on a Single-Core EPYC

16+ hour, 2+ min ago   (333+ words) Running Rubix ML with the Tensor extension on a single-core AMD EPYC, 1 GB RAM VPS, we achieved production-grade ML performance: mikrosaniye-level inference, 1. Why This Matters PHP is dismissed as “just a web language.” That’s outdated. With Rubix ML and the…...


dev.to > tanu_priya > how-do-backend-developers-secure-apis-4ho1

How Do Backend Developers Secure APIs?

17+ hour, 57+ 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

20+ hour, 7+ 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

1+ day, 7+ 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

1+ day, 5+ hour 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…...