php Courses
Author

php Courses

php中文网's platform for the latest courses and technical articles, helping PHP learners advance quickly.

3.1k
Articles
1
Likes
16.9k
Views
0
Comments
Recent Articles

Latest from php Courses

100 recent articles max
php Courses
php Courses
Oct 9, 2026 · Backend Development

From AI Replacement Fear to AI Command: A PHP Developer's Laravel AI SDK Journey

A PHP developer shares how they overcame AI replacement anxiety by adopting Laravel AI SDK to build production-ready AI agents, integrating tools for real-time data access, and using Claude Code for AI-assisted development, proving PHP's viability for AI integration without switching languages.

AI AgentsAI-assisted developmentBackend Development
0 likes · 11 min read
From AI Replacement Fear to AI Command: A PHP Developer's Laravel AI SDK Journey
php Courses
php Courses
Sep 30, 2026 · Artificial Intelligence

PHP AI Agents with Neuron: From Install to Code Review Assistant

A PHP developer skeptical about AI in PHP tries the Neuron AI framework, building a code review assistant with file-reading tools, Laravel integration, and Inspector debugging, showing how PHP can handle AI agents without separate Python services.

AI AgentsLaravelNeuron AI
0 likes · 9 min read
PHP AI Agents with Neuron: From Install to Code Review Assistant
php Courses
php Courses
Sep 22, 2026 · Backend Development

PHP Performance Optimization: 6x Speedup from 8.2s to 1.4s with 7 Fixes

A legacy PHP 7.2 project with 8.2s average response time was optimized to 1.4s in two weeks through seven fundamental fixes: enabling OPcache, eliminating N+1 queries via eager loading, adding composite database indexes, implementing Redis caching layers, setting HTTP timeouts for external calls, right-sizing PHP-FPM workers, and separating API middleware from web routes.

LaravelN+1 QueryOPcache
0 likes · 12 min read
PHP Performance Optimization: 6x Speedup from 8.2s to 1.4s with 7 Fixes
php Courses
php Courses
Sep 20, 2026 · Backend Development

AI-Generated PHP: 6 Dangerous Code Patterns You Must Never Copy Blindly

This article identifies six categories of AI-generated PHP code that introduce critical security vulnerabilities—SQL injection, unsafe file uploads, weak type comparisons, payment logic flaws, dangerous function usage, and hardcoded secrets—and provides a practical checklist and prompt template to enforce production-grade safety before deployment.

AI-assisted codingPHPSQL injection
0 likes · 9 min read
AI-Generated PHP: 6 Dangerous Code Patterns You Must Never Copy Blindly
php Courses
php Courses
Sep 18, 2026 · Backend Development

PHP Weak Typing Pitfalls: Secure Comparison Templates & Input Validation Code

This article details five critical PHP weak typing vulnerabilities — loose equality, empty() misuse, in_array/switch type juggling, and 0e hash collisions — and provides production-ready secure comparison templates, strict input validation functions, and a pre-deployment checklist to prevent authentication bypasses and data corruption.

PHPdeclare strict_typeshash_equals
0 likes · 6 min read
PHP Weak Typing Pitfalls: Secure Comparison Templates & Input Validation Code
php Courses
php Courses
Sep 18, 2026 · Backend Development

PHP Weak Typing Pitfalls: Why Local Works But Production Crashes

This article explains how PHP's loose comparison (==) leads to security vulnerabilities and data corruption in production due to malformed input, detailing three common scenarios—permission bypass, zero-value misjudgment, and in_array/switch bypass—and provides strict comparison, input validation, and hash_equals best practices to prevent such bugs.

Best PracticesPHPinput validation
0 likes · 7 min read
PHP Weak Typing Pitfalls: Why Local Works But Production Crashes
php Courses
php Courses
Sep 17, 2026 · Backend Development

AI-Powered Laravel Pre-Commit Review: route:list, Staged Diff & Custom Prompts

This tutorial shows how to set up an AI-assisted pre-commit code review for Laravel projects by exporting environment details, route lists, and staged diffs into a structured prompt that checks for missing authentication, validation, transactions, queue retries, cache conflicts, and test coverage.

AI code reviewCode QualityLaravel
0 likes · 4 min read
AI-Powered Laravel Pre-Commit Review: route:list, Staged Diff & Custom Prompts
php Courses
php Courses
Sep 16, 2026 · R&D Management

AI Transforms Development Workflows, Not Languages: Practical Integration Steps

This article argues AI's main impact is on the end-to-end development workflow rather than specific languages, and provides three practical steps: create a project prompt profile, use AI for pre-review checks, and build reusable prompt templates for tasks like API development and test generation, with a ready-to-use shell script.

AI-assisted developmentShell Scriptingcode review
0 likes · 5 min read
AI Transforms Development Workflows, Not Languages: Practical Integration Steps
php Courses
php Courses
Feb 25, 2026 · Fundamentals

Can Functional Pipelines Transform Regex Construction? A Builder Approach

By applying functional and pipeline programming concepts to regex creation, developers can replace unreadable string literals with composable components, enabling clearer, maintainable patterns, dynamic construction, and modular management of character classes, quantifiers, lookaheads, and backreferences, while highlighting the method's strengths and limitations.

Builder Patterncode generationfunctional programming
0 likes · 7 min read
Can Functional Pipelines Transform Regex Construction? A Builder Approach
php Courses
php Courses
Feb 25, 2026 · Backend Development

Why Choose PDO Over mysqli? A Complete Guide to PHP Database Connections

This guide explains the advantages of using PDO instead of mysqli for PHP database connections, walks through MySQL and PostgreSQL setup with detailed code examples, recommended configuration options, and a checklist for troubleshooting common connection errors.

DatabaseMySQLPDO
0 likes · 7 min read
Why Choose PDO Over mysqli? A Complete Guide to PHP Database Connections