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 > informat > multi-tenancy-is-not-a-deployment-model-it-is-a-data-model-decision-4fg

Multi-Tenancy Is Not a Deployment Model. It Is a Data Model Decision.

1+ hour, 50+ min ago   (940+ words) The meeting lasted eleven minutes. The IT director of a manufacturing group had one question: "We have four subsidiaries. Can they all run on this, with each one only seeing its own data?" Everyone in the room heard a configuration…...


dev.to > pcgustavo7 > redis-16hb

Redis

6+ hour, 57+ min ago   (161+ words) O Redis é como um bloco de notas na sua mesa, em vez de um arquivo trancado no porão. Sistemas normais buscam dados num banco de dados em disco — seguro, mas lento, como descer ao porão toda vez que precisa…...


dev.to > edwardfancher > read-only-user-impersonation-in-rails-aeh

Read-only user impersonation in Rails

11+ hour, 29+ min ago   (482+ words) We built it and ran it in production. Last week we pulled it out into a gem called viewing_as. This post is about the decisions we made that may transfer to your app as well. None of them refuse writes, or…...


dev.to > serhii_a9c08345ac360cf5c8 > process-telegram-stars-payments-in-php-invoices-pre-checkout-query-and-successful-payment-2k53

Process Telegram Stars Payments in PHP: Invoices, Pre-Checkout Query, and Successful Payment

11+ hour, 55+ min ago   (297+ words) The goal is not to duplicate Telegram's SDK but to implement the full server-side flow that ensures money moves correctly and prevents fraud. Below you'll find production-ready PHP code with detailed explanations of each step, common pitfalls, and how to…...


dev.to > youssefahmedcs > simple-continuous-deployment-for-laravel-with-github-actions-and-a-vps-58ok

How I Automated My Laravel Deployments to a VPS with GitHub Actions and SSH

12+ hour, 18+ min ago   (21+ words) Running a Laravel application on a VPS usually means repeating the same routine: connecting via... Tagged with vps, laravel, cicd, devops....


laravel-news.com

Laravel AI SDK 1.0 Adds Classification and Tool Approvals

13+ hour, 13+ min ago   (506+ words) Or try paginated search → The Laravel team just released version 1.0 of the Laravel AI SDK, the first-party package that gives you one API for working with AI providers in a Laravel app. The SDK was first announced in February. This…...


dev.to > kamenivanov > an-engineer-left-ddl-autoupdate-in-staging-production-ended-up-with-two-columns-instead-of-one-3gdd

An Engineer Left ddl-auto=update in Staging. Production Ended Up With Two Columns Instead of One.

15+ hour, 41+ min ago   (396+ words) The deployment window was Sunday night specifically because it was supposed to be quiet, the... Tagged with backend, database, devops, java....


dev.to > anashussain284 > the-adapter-pattern-a-laravel-developers-guide-to-api-integration-4o64

The Adapter Pattern: A Laravel Developer's Guide to API Integration

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


dev.to > authbyexample1 > tenant-membership-is-not-resource-permission-nco

Tenant membership is not resource permission

18+ hour ago   (191+ words) Joining a workspace or tenant often unlocks a long list of APIs. That membership proves the caller belongs in the org. It does not prove they may delete this project, export that dataset, or rotate someone else's key. A common…...


dev.to > royalpinto007 > enforce-permissions-inside-the-pgvector-query-not-after-it-439

Enforce Permissions Inside the pgvector Query, Not After It

18+ hour, 31+ min ago   (628+ words) Most permission bugs in RAG systems look harmless in review. You retrieve the top-k nearest chunks, then you drop the ones the user is not allowed to see. It reads as correct. It is not, and the failure is quiet....