Tagged articles

PHP

3051 articles · Page 22 of 31
php Courses
php Courses
Dec 20, 2022 · Databases

Redis Memory Not Releasing Issue and Analysis of 20 Million Expiring Keys

This article describes a Redis 5.0 memory leak scenario where 20 million keys with expiration caused memory not to be released, details the investigation steps, findings about the activeExpireCycle, and concludes that memory will eventually be freed, followed by a promotional announcement for a PHP online live class.

PHPPerformanceRedis
0 likes · 3 min read
Redis Memory Not Releasing Issue and Analysis of 20 Million Expiring Keys
php Courses
php Courses
Dec 19, 2022 · Backend Development

Eight Useful PHP Libraries from GitHub to Boost Development Efficiency

This article presents eight highly starred PHP libraries from GitHub—including tools for pinyin conversion, cURL requests, Markdown parsing, HTML‑to‑PDF conversion, document handling, SMS sending, short‑URL generation, and console applications—along with code examples, and concludes with a promotion for an upcoming PHP online training class.

CodeExamplesLibrariesOpenSource
0 likes · 8 min read
Eight Useful PHP Libraries from GitHub to Boost Development Efficiency
php Courses
php Courses
Dec 16, 2022 · Backend Development

PhpStorm 2022.3 Release: New UI Preview, Code Vision, Quick‑Fix Preview, PHPDoc Enhancements, and Full PHP 8.2 Support

PhpStorm 2022.3 introduces a previewable new UI, expanded Code Vision details, quick‑fix preview, improved PHPDoc rendering, enhanced quick documentation, date‑format tooltips, and comprehensive support for PHP 8.2 features such as readonly classes, deprecated dynamic properties, and DNF types.

Code VisionIDEPHP
0 likes · 5 min read
PhpStorm 2022.3 Release: New UI Preview, Code Vision, Quick‑Fix Preview, PHPDoc Enhancements, and Full PHP 8.2 Support
Laravel Tech Community
Laravel Tech Community
Dec 12, 2022 · Backend Development

Using PhpSpreadsheet for Excel Import/Export and Chart Generation in PHP

This article introduces PhpSpreadsheet—the modern PHP library that replaces PHPExcel—showing how to install it, import necessary namespaces, create a spreadsheet with data, build bar and donut charts, configure gridlines and positions, and finally output the workbook as an XLSX file.

Backend DevelopmentPHPPhpSpreadsheet
0 likes · 6 min read
Using PhpSpreadsheet for Excel Import/Export and Chart Generation in PHP
Laravel Tech Community
Laravel Tech Community
Dec 4, 2022 · Backend Development

CakePHP 4.4.8 Released with Bug Fixes and Improvements

CakePHP 4.4.8, the maintenance release of the 4.4 branch, introduces several bug fixes and enhancements such as aligned scheme handling, improved paginator compatibility, infinite‑loop prevention when creating table classes, better mail assertion, pagination defaults fixes, and refined type hints and API documentation.

Backend DevelopmentCakePHPPHP
0 likes · 2 min read
CakePHP 4.4.8 Released with Bug Fixes and Improvements
php Courses
php Courses
Nov 28, 2022 · Backend Development

Using PHP shmop Functions for Shared Memory: Overview and Practical Examples

This article explains PHP's two shared memory interfaces, shm and shmop, details the primary shmop functions, provides code examples for creating, reading, writing, and deleting shared memory segments, demonstrates testing with Linux commands, and includes a practical class‑based usage example.

IPCLinuxPHP
0 likes · 9 min read
Using PHP shmop Functions for Shared Memory: Overview and Practical Examples
php Courses
php Courses
Nov 24, 2022 · Backend Development

How to Install and Uninstall PECL Extensions for Multiple PHP Versions

This article explains how to use PECL with the -d php_suffix and -r options to install and uninstall the same extension across multiple PHP versions, and also announces an online PHP training class for beginners to advanced learners.

Backend DevelopmentExtension InstallationPHP
0 likes · 2 min read
How to Install and Uninstall PECL Extensions for Multiple PHP Versions
php Courses
php Courses
Nov 13, 2022 · Backend Development

Implementing a Simple RPC Framework in PHP Using Sockets

This article explains the concept of Remote Procedure Call (RPC), demonstrates how to build a lightweight PHP RPC server and client with socket programming, shows the full source code, execution steps, and explains the custom protocol used for cross‑language method invocation.

PHPRPCSockets
0 likes · 6 min read
Implementing a Simple RPC Framework in PHP Using Sockets
Top Architect
Top Architect
Nov 11, 2022 · Backend Development

Distributed ID Generation Service: Features, Scenarios, and Implementation

This article explains the need for globally unique identifiers in modern applications, outlines the essential characteristics of a distributed ID generation service, examines common implementation techniques, and discusses concrete business scenarios such as order numbers, coupons, short URLs, and tracing with practical code examples.

BackendPHPcoupon code
0 likes · 18 min read
Distributed ID Generation Service: Features, Scenarios, and Implementation
php Courses
php Courses
Nov 6, 2022 · Backend Development

Concepts, Principles, and Implementation Methods of Message Queues

This article explains the fundamentals of message queues, their typical use cases such as decoupling and traffic shaping, compares implementation options like MySQL, Redis, and dedicated message systems, and provides detailed PHP code examples for flash‑sale and RabbitMQ integrations.

PHPRedisflash sale
0 likes · 6 min read
Concepts, Principles, and Implementation Methods of Message Queues
php Courses
php Courses
Nov 3, 2022 · Backend Development

PHP HTTP Client Utility Using cURL – Practical Example and Story

The author describes receiving a paid PHP development request, quickly implementing a cURL‑based HTTP client class to handle GET, POST, PUT, and DELETE requests with JSON payloads, and shares the full code to help others solve similar integration problems.

APIBackend DevelopmentPHP
0 likes · 5 min read
PHP HTTP Client Utility Using cURL – Practical Example and Story
php Courses
php Courses
Nov 2, 2022 · Backend Development

Three Methods to Implement Page Redirection in PHP

This article explains three PHP techniques for page redirection—using the header() function, outputting a JavaScript location.href script, and inserting a META refresh tag—each with code examples and explanations of how they work and when to use them.

JavaScriptPHP
0 likes · 3 min read
Three Methods to Implement Page Redirection in PHP
360 Quality & Efficiency
360 Quality & Efficiency
Oct 28, 2022 · Operations

Pinpoint APM Overview and PHP Full‑Stack Monitoring Setup

This article introduces the open‑source Pinpoint APM tool for Java micro‑services, explains its architecture and data model, demonstrates deployment options for Tomcat and SpringBoot, and provides a step‑by‑step guide to installing and configuring the Pinpoint PHP agent for end‑to‑end performance monitoring.

APMMicroservicesPHP
0 likes · 8 min read
Pinpoint APM Overview and PHP Full‑Stack Monitoring Setup
Laravel Tech Community
Laravel Tech Community
Oct 26, 2022 · Backend Development

PHP 8.3 RFC: Built‑in json_validate Function

The article explains the PHP 8.3 RFC that introduces a built‑in json_validate function, describing its signature, parameters, return values, usage examples, community discussion, reasons for inclusion, and the impact on major PHP projects, while noting its compatibility with the existing json_decode parser.

JSONPHPValidation
0 likes · 7 min read
PHP 8.3 RFC: Built‑in json_validate Function
php Courses
php Courses
Oct 18, 2022 · Information Security

In-Memory PHP Trojan: Source Code, Explanation, and Mitigation

This article explains the concept of in‑memory PHP trojans, provides simple obfuscated source code that deletes itself and persists in RAM, discusses their stealth characteristics, and offers a basic mitigation strategy of terminating the process and removing the generated files.

MalwareMemory TrojanPHP
0 likes · 3 min read
In-Memory PHP Trojan: Source Code, Explanation, and Mitigation
php Courses
php Courses
Oct 11, 2022 · Backend Development

Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal

This article explains how to build a tree‑based sensitive‑word detection algorithm in PHP, discusses the challenges of correctly iterating over multibyte strings, and provides a complete implementation with code examples that handle Unicode characters efficiently.

PHPString Traversalalgorithm
0 likes · 6 min read
Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal
Laravel Tech Community
Laravel Tech Community
Oct 9, 2022 · Information Security

PHP One‑Liner Webshells and Evasion Techniques

This article explains various one‑line PHP webshell payloads, compares eval and assert functions, and demonstrates multiple obfuscation methods such as XOR, base64, rot13, concatenation, custom function wrappers, variable variables, class‑based tricks, and version‑specific payloads to bypass WAFs and antivirus detection.

EvasionPHPWebshell
0 likes · 12 min read
PHP One‑Liner Webshells and Evasion Techniques
php Courses
php Courses
Oct 9, 2022 · Backend Development

Understanding CGI, FastCGI, and php-fpm in PHP Backend Development

This article explains the CGI protocol, how PHP implements it, the advantages of FastCGI as a persistent process manager, and how php-fpm extends FastCGI to provide smoother configuration changes and improved performance for PHP web applications.

CGIPHPfastcgi
0 likes · 3 min read
Understanding CGI, FastCGI, and php-fpm in PHP Backend Development
MaGe Linux Operations
MaGe Linux Operations
Oct 1, 2022 · Information Security

Mastering PHP One‑Line Webshell Evasion: Techniques & Payloads

This article explores various PHP one‑line webshell payloads, compares eval and assert functions, and presents multiple evasion techniques such as XOR, base64, rot13, string concatenation, variable obfuscation, and version‑specific tricks to bypass WAFs and antivirus detection.

EvasionOne-linerPHP
0 likes · 16 min read
Mastering PHP One‑Line Webshell Evasion: Techniques & Payloads
Alibaba Cloud Native
Alibaba Cloud Native
Sep 29, 2022 · Cloud Native

How Migrating a Holiday Gift Service to Alibaba Cloud Function Compute Cuts Costs and Handles Traffic Spikes

Facing occasional traffic spikes and high server costs, the author migrated a holiday gift‑distribution project from an ALB‑ECS‑MySQL‑Redis stack to Alibaba Cloud Function Compute, detailing cost reductions, zero‑idle‑instance savings, custom runtime setup, logging adjustments, VPC networking, deployment via Serverless Devs, and domain binding.

Alibaba CloudCloud NativeDevOps
0 likes · 8 min read
How Migrating a Holiday Gift Service to Alibaba Cloud Function Compute Cuts Costs and Handles Traffic Spikes
Laravel Tech Community
Laravel Tech Community
Sep 21, 2022 · Backend Development

PHP 8.2.0 RC1 Released: New Features and Improvements

The first release candidate of PHP 8.2.0 (RC1) has been published, introducing trait constants, a new Random extension, enhanced JIT support, updated MIME types for the built‑in web server, memory optimizations, new socket and Curl options, additional ZipArchive methods, and several performance and cross‑platform improvements.

Backend DevelopmentJITNew Features
0 likes · 3 min read
PHP 8.2.0 RC1 Released: New Features and Improvements
php Courses
php Courses
Sep 16, 2022 · Fundamentals

Understanding SOLID Principles in Object‑Oriented Design

This article explains the five SOLID object‑oriented design principles—Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion—while also promoting a PHP online training program that covers modern web technologies and offers enrollment via QR code or contact details.

BackendObject-Oriented DesignPHP
0 likes · 2 min read
Understanding SOLID Principles in Object‑Oriented Design
Alibaba Cloud Native
Alibaba Cloud Native
Sep 9, 2022 · Cloud Native

How to Deploy a Pay‑Per‑Use WordPress Site on Alibaba Cloud Serverless

Learn step‑by‑step how to build a cost‑effective, pay‑per‑use WordPress website on Alibaba Cloud Serverless using Function Compute, NAS storage, RDS, and SLS, covering service activation, NAS setup, function configuration, custom domain binding, code deployment, and final verification.

Alibaba CloudCloud NativeFunction Compute
0 likes · 7 min read
How to Deploy a Pay‑Per‑Use WordPress Site on Alibaba Cloud Serverless
Laravel Tech Community
Laravel Tech Community
Sep 7, 2022 · Backend Development

Common PHP File and Directory Utility Functions

This article provides a collection of reusable PHP functions for checking, creating, listing, copying, and deleting files and directories, offering developers ready‑to‑use code snippets that simplify common filesystem operations in backend projects.

BackendFile SystemPHP
0 likes · 5 min read
Common PHP File and Directory Utility Functions
Top Architect
Top Architect
Sep 1, 2022 · Backend Development

Using Docker for Local Development: Installation, Configuration, and Usage

This article explains the common pain points of local development and provides a step‑by‑step guide on installing Docker, Docker‑Compose, and Laradock, configuring environment files, setting up Nginx and host entries, and running containers to create a consistent, portable development environment.

Dev EnvironmentDocker ComposeLaradock
0 likes · 12 min read
Using Docker for Local Development: Installation, Configuration, and Usage
Laravel Tech Community
Laravel Tech Community
Aug 30, 2022 · Backend Development

CakePHP 4.4.5 Released with Improvements to SMTP Authentication, Debug Stack Frames, API Docs, and Localization

Version 4.4.5 of the open‑source CakePHP framework, which implements ActiveRecord, Association Data Mapping, Front Controller and MVC patterns, has been released, introducing enhanced SMTP authentication error handling, restored parameter display in debug stack frames, API documentation upgrades, a fix for diffForHumans() localization, and deprecation of ValidatableInterface.

Backend DevelopmentCakePHPPHP
0 likes · 2 min read
CakePHP 4.4.5 Released with Improvements to SMTP Authentication, Debug Stack Frames, API Docs, and Localization
Laravel Tech Community
Laravel Tech Community
Aug 23, 2022 · Backend Development

Implementing Priority Queues with RabbitMQ in PHP

This article explains how to configure RabbitMQ queue priority, defines reusable PHP base, service, and client classes, and demonstrates running the code to send and consume prioritized messages using the PhpAmqpLib library.

Backend DevelopmentPHPRabbitMQ
0 likes · 3 min read
Implementing Priority Queues with RabbitMQ in PHP
Laravel Tech Community
Laravel Tech Community
Aug 22, 2022 · Backend Development

Implementing a Producer‑Consumer Model with RabbitMQ in PHP

This tutorial explains the producer‑consumer principle using RabbitMQ, provides a reusable PHP base class for queue connections, and demonstrates how to create service and client classes to send and receive messages, followed by step‑by‑step instructions to run the code and view the queue.

Backend DevelopmentPHPRabbitMQ
0 likes · 3 min read
Implementing a Producer‑Consumer Model with RabbitMQ in PHP
MaGe Linux Operations
MaGe Linux Operations
Aug 19, 2022 · Information Security

Bypassing PHP disable_functions and Building Encrypted Reverse Shells: A Hands‑On Guide

This article walks through practical techniques for bypassing PHP's disable_functions, hiding attacker IPs, creating encrypted bash reverse shells, maintaining persistence with cron and screen, probing outbound ports, setting up internal network proxies, and cleaning forensic traces, all aimed at penetration testing and red‑team operations.

PHPcron persistencedisable_functions
0 likes · 13 min read
Bypassing PHP disable_functions and Building Encrypted Reverse Shells: A Hands‑On Guide
php Courses
php Courses
Aug 10, 2022 · Backend Development

Running PHP Built-in Server as a Background Process with nohup

This article explains how to start PHP's built‑in HTTP server for local testing, keep it running after the terminal closes by using nohup, and notes the default log file and production‑environment limitations.

Backend DevelopmentPHPbuilt-in server
0 likes · 2 min read
Running PHP Built-in Server as a Background Process with nohup
37 Interactive Technology Team
37 Interactive Technology Team
Aug 8, 2022 · Backend Development

Time Management in Programming: Concepts, Practices, and Common Pitfalls

Time management in programming spans human concepts of time, language-specific handling of zones and timestamps, 32‑bit overflow risks, sync versus async processing, log timestamping, business‑level period calculations, and common pitfalls, emphasizing that mastering these nuances prevents bugs, improves performance, and enables reliable analytics.

Backend DevelopmentClickHouseETL
0 likes · 20 min read
Time Management in Programming: Concepts, Practices, and Common Pitfalls
php Courses
php Courses
Aug 7, 2022 · Backend Development

Key Features and Architecture of PHP 7 and PHP 8

This article outlines the major new features of PHP 8 and PHP 7, explains why PHP 7 outperforms PHP 5, describes the execution flow, web‑request lifecycle, underlying architecture, data structures, garbage‑collection mechanism, and the PHP‑FPM master‑worker model with optimization tips.

Backend DevelopmentPHPPerformance
0 likes · 6 min read
Key Features and Architecture of PHP 7 and PHP 8
php Courses
php Courses
Aug 6, 2022 · Information Security

Building a Custom IP Filtering System for Public Servers with Automated Whitelisting

Facing constant port scans and malicious login attempts on a public server, the author outlines a self‑developed IP filtering solution that automatically adds trusted IPs to a whitelist, featuring multi‑process support, concurrency, daemon mode, a web management panel, traffic statistics, and interception logging.

IP filteringPHPWeb Management
0 likes · 3 min read
Building a Custom IP Filtering System for Public Servers with Automated Whitelisting
php Courses
php Courses
Aug 5, 2022 · Backend Development

Rapid PHP Learning Path (Free Public Course)

This free public roadmap guides beginners through essential front‑end fundamentals, rapid PHP onboarding, and optional advanced topics, providing curated course titles and direct links to help learners quickly master web development with PHP.

Backend DevelopmentFree CourseLearning Path
0 likes · 3 min read
Rapid PHP Learning Path (Free Public Course)
Laravel Tech Community
Laravel Tech Community
Aug 1, 2022 · Fundamentals

Understanding Inversion of Control (IoC) with PHP Code Examples

This article explains the Inversion of Control (IoC) principle, contrasts a tightly coupled logging implementation with a dependency‑injected version in PHP, and demonstrates how passing a logger via the constructor decouples classes and follows the open‑closed principle.

Dependency InjectionDesign PatternsIOC
0 likes · 3 min read
Understanding Inversion of Control (IoC) with PHP Code Examples
php Courses
php Courses
Aug 1, 2022 · Frontend Development

Implementation of a Drag-and-Drop Captcha Using PHP and JavaScript

This article presents a step‑by‑step tutorial on creating a drag‑and‑drop captcha, covering the project repository, visual examples, underlying logic, PHP and JavaScript APIs, installation via Composer, and a link to the original detailed guide.

JavaScriptPHPTutorial
0 likes · 2 min read
Implementation of a Drag-and-Drop Captcha Using PHP and JavaScript
php Courses
php Courses
Jul 27, 2022 · Backend Development

Comprehensive Summary of PHP 5–8 Version Features

This article provides a detailed overview of the major features introduced in PHP versions 5 through 8, including autoloading, PDO, MySQLi, namespaces, traits, built‑in server, scalar type declarations, nullable types, JIT compilation, named arguments, union types, match expressions, and many useful code examples.

Backend DevelopmentCode ExamplesPHP
0 likes · 15 min read
Comprehensive Summary of PHP 5–8 Version Features
php Courses
php Courses
Jul 15, 2022 · Backend Development

Understanding PHP in_array() Pitfalls and Proper Usage

This article explains how the PHP in_array() function can return misleading results when the strict comparison flag is omitted, demonstrates the issue with a simple code example, and shows the correct usage as well as a comparable JavaScript approach using indexOf().

BackendPHParray_search
0 likes · 2 min read
Understanding PHP in_array() Pitfalls and Proper Usage
Baidu Geek Talk
Baidu Geek Talk
Jul 7, 2022 · Fundamentals

Mastering the Observer Pattern: Real‑World Java and PHP Examples

This article explains the Observer design pattern, outlines its advantages and drawbacks, and demonstrates practical implementations through three real‑world scenarios—weather forecasting, payment processing, and data subscription—providing complete Java and PHP code samples that illustrate subjects, observers, and notification mechanisms.

Design PatternsJavaObserver Pattern
0 likes · 12 min read
Mastering the Observer Pattern: Real‑World Java and PHP Examples
Laravel Tech Community
Laravel Tech Community
Jun 30, 2022 · Fundamentals

Insertion Sort Implementation in PHP

This article explains the insertion sort algorithm, describes how it repeatedly inserts each element into its correct position in a growing sorted portion of the array, and provides a complete PHP function that sorts a numeric array while preserving stability.

PHPSorting Algorithmfundamentals
0 likes · 2 min read
Insertion Sort Implementation in PHP
21CTO
21CTO
Jun 24, 2022 · Backend Development

Understanding PHP’s New Readonly Classes: Benefits, Syntax, and Limitations

The PHP RFC introduces readonly classes, allowing all properties of a class to be immutable, prohibiting dynamic and static properties, and providing reflection support, with examples, restrictions, inheritance rules, and compatibility notes, helping developers write safer, more robust code.

ImmutabilityPHPReflection
0 likes · 5 min read
Understanding PHP’s New Readonly Classes: Benefits, Syntax, and Limitations
Laravel Tech Community
Laravel Tech Community
Jun 14, 2022 · Fundamentals

Bubble Sort Algorithm Explained with PHP Implementation

This article explains the Bubble Sort algorithm, its O(n²) time and O(1) space complexities, describes the step‑by‑step sorting process, provides a complete PHP implementation, and shows sample input and output to illustrate how the algorithm orders data.

Code ExamplePHPSorting Algorithm
0 likes · 3 min read
Bubble Sort Algorithm Explained with PHP Implementation
Laravel Tech Community
Laravel Tech Community
Jun 14, 2022 · Operations

LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide

The LNMP one‑click installation package V1.9 adds support for Rocky Linux, AlmaLinux, CentOS Stream 9 and several Chinese Linux distributions, introduces PHP 8.1, new PHP extensions, MySQL 5.7/8.0 binaries, IPv6 and ZeroSSL options, and provides detailed management commands for deploying and maintaining Nginx, MySQL, PHP and related services.

LNMPLinuxMySQL
0 likes · 7 min read
LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide
Laravel Tech Community
Laravel Tech Community
May 16, 2022 · Information Security

Preventing Replay Attacks with Timestamps and Nonces in PHP

The article explains replay attacks, describes how using a timestamp, a nonce, or a combination of both can protect API requests, and provides complete PHP code examples for signing and verifying requests to ensure each call is accepted only once.

PHPReplay Attacknonce
0 likes · 7 min read
Preventing Replay Attacks with Timestamps and Nonces in PHP
58 Tech
58 Tech
May 12, 2022 · Backend Development

Refactoring PHP Calls to Java Interfaces: Architecture, Code Generation, and Seamless Integration

The article details the challenges of PHP invoking Java interfaces, compares two existing solutions, and presents a comprehensive refactoring approach that automates code conversion, resolves generic parsing and sandbox debugging issues, and reduces the integration steps from eight to three for more efficient backend development.

API integrationCode GenerationJava
0 likes · 11 min read
Refactoring PHP Calls to Java Interfaces: Architecture, Code Generation, and Seamless Integration
php Courses
php Courses
May 11, 2022 · Backend Development

High-Concurrency Web Architecture: Concepts, Load Balancing, CDN, and PHP Concurrency Practices

This article explains key high‑concurrency web concepts such as QPS, throughput, and response time, then details traffic and server optimizations, load‑balancing strategies (L4/L7, Nginx, LVS), CDN fundamentals, process/thread/coroutine models, asynchronous I/O, PHP Swoole concurrency, and database caching techniques for scalable backend systems.

Backend DevelopmentCDNDatabase Caching
0 likes · 22 min read
High-Concurrency Web Architecture: Concepts, Load Balancing, CDN, and PHP Concurrency Practices
High Availability Architecture
High Availability Architecture
May 10, 2022 · Backend Development

Laravel vs Yii: A Comprehensive Comparison

This article compares the PHP web frameworks Laravel and Yii, detailing their core features, installation requirements, validation, routing, CRUD generation, extensions, migrations, testing, security, and documentation, and provides scored evaluations to help developers choose the most suitable framework for their projects.

Backend DevelopmentLaravelPHP
0 likes · 9 min read
Laravel vs Yii: A Comprehensive Comparison
Laravel Tech Community
Laravel Tech Community
May 9, 2022 · Backend Development

Using JSON in PHP: json_encode and json_decode Explained with Examples

This article explains the fundamentals of JSON, its syntax rules, and demonstrates how PHP's json_encode and json_decode functions convert between arrays and JSON strings, including examples of sequential, non‑sequential, and multidimensional arrays, and the effect of the associative‑array option.

BackendData SerializationPHP
0 likes · 4 min read
Using JSON in PHP: json_encode and json_decode Explained with Examples
Laravel Tech Community
Laravel Tech Community
Apr 28, 2022 · Information Security

Understanding OS Command Injection in PHP and How to Prevent It

The article explains how PHP functions like exec(), system(), passthru(), popen(), backtick operator, shell_exec() and pcntl_exec() can be abused for OS command injection, demonstrates vulnerable code examples, and provides practical mitigation techniques to secure web applications.

OS command injectionPHPWeb Security
0 likes · 6 min read
Understanding OS Command Injection in PHP and How to Prevent It
Laravel Tech Community
Laravel Tech Community
Apr 26, 2022 · Backend Development

MDword: PHP Library for Dynamically Generating Word Documents – Features, Comparison with PHPWord, and Usage Guide

This article introduces MDword, a PHP library for programmatically creating Word documents, outlines its recent updates, compares it with PHPWord, and provides step‑by‑step installation and usage examples including code snippets for template processing, image insertion, and document saving.

Backend DevelopmentPHPWord Generation
0 likes · 4 min read
MDword: PHP Library for Dynamically Generating Word Documents – Features, Comparison with PHPWord, and Usage Guide
Laravel Tech Community
Laravel Tech Community
Apr 26, 2022 · Frontend Development

Understanding Cross-Origin Requests and PHP Solutions for CORS

This article explains what cross‑origin (CORS) is, how the browser's same‑origin policy restricts scripts, lists allowed tags, describes common cross‑origin scenarios, and provides practical PHP header code, proxy techniques, and Nginx reverse‑proxy configurations to resolve CORS issues.

CORSCross-OriginPHP
0 likes · 8 min read
Understanding Cross-Origin Requests and PHP Solutions for CORS
IT Architects Alliance
IT Architects Alliance
Apr 14, 2022 · Backend Development

Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x

SAPI++ is an open‑source multi‑application, multi‑tenant SaaS framework built on ThinkPHP 6.x, offering out‑of‑the‑box installation, API authentication, menu integration, and support for various front‑end technologies; the article details its features, advantages, required environment, and directory layout for developers.

Backend DevelopmentPHPSAPI++
0 likes · 9 min read
Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x
Laravel Tech Community
Laravel Tech Community
Apr 12, 2022 · Information Security

Common PHP Weak‑Type Vulnerabilities: MD5 Collision, is_numeric, in_array, switch, and intval Issues

This article explains several PHP weak‑type pitfalls—including MD5 hash collisions, improper handling by is_numeric, unexpected behavior of in_array and switch, and intval casting quirks—showing how they can lead to security problems such as hash collisions, SQL injection, and logic errors.

PHPVulnerabilitieshash collision
0 likes · 4 min read
Common PHP Weak‑Type Vulnerabilities: MD5 Collision, is_numeric, in_array, switch, and intval Issues
Laravel Tech Community
Laravel Tech Community
Apr 5, 2022 · Information Security

Preventing XSS Attacks in PHP: Best Practices and Code Examples

This article explains various methods to prevent XSS injection in PHP, covering the limitations of built‑in filters, proper use of htmlspecialchars and htmlentities, replacement techniques, and provides comprehensive PHP functions with code examples for sanitizing user input and removing malicious scripts.

Code ExamplePHPWeb Security
0 likes · 7 min read
Preventing XSS Attacks in PHP: Best Practices and Code Examples
21CTO
21CTO
Mar 31, 2022 · Backend Development

Print GitHub Issue Receipts with a Raspberry Pi and PHP

This guide shows how to connect an Epson TM‑T88IV thermal receipt printer to a Raspberry Pi Zero W, install a PHP ESC/POS library, configure udev rules, set up a GitHub webhook via ngrok, and automatically print issue details as receipts.

ESC/POSGitHub WebhooksPHP
0 likes · 9 min read
Print GitHub Issue Receipts with a Raspberry Pi and PHP
21CTO
21CTO
Mar 30, 2022 · Frontend Development

What’s New in GitLab 14.9, React 18, and a DIY GitHub Issue Printer?

The article covers DJI’s denial of aiding Russia, the latest features in GitLab 14.9, the official launch of React 18 with its new concurrent capabilities, and a developer’s creative project that prints GitHub issues using a Raspberry Pi‑connected receipt printer.

DJIGitHubGitLab
0 likes · 8 min read
What’s New in GitLab 14.9, React 18, and a DIY GitHub Issue Printer?
Laravel Tech Community
Laravel Tech Community
Mar 7, 2022 · Backend Development

Understanding PHP Traits: Usage, Conflict Resolution, and Advanced Features

This article explains PHP's Trait feature, showing how to use it for multiple inheritance, resolve method and property conflicts with insteadof and as, combine multiple Traits, and leverage advanced capabilities such as abstract methods and static members, all illustrated with complete code examples.

Code ExampleMultiple InheritanceObject-Oriented Programming
0 likes · 7 min read
Understanding PHP Traits: Usage, Conflict Resolution, and Advanced Features
Laravel Tech Community
Laravel Tech Community
Mar 6, 2022 · Backend Development

PHP Form Validation Tutorial with Security Best Practices

This article provides a comprehensive PHP form validation tutorial, covering required and optional fields, validation rules using regular expressions, secure handling of user input with trim, stripslashes, and htmlspecialchars, prevention of XSS via $_SERVER['PHP_SELF'] sanitization, and includes complete example code for both the HTML form and processing script.

BackendForm ValidationPHP
0 likes · 9 min read
PHP Form Validation Tutorial with Security Best Practices
Alibaba Cloud Native
Alibaba Cloud Native
Feb 26, 2022 · Backend Development

How Serverless Transforms PHP Development: From LAMP to Elastic FaaS

This article explains why PHP dominates web development, outlines the operational burdens of traditional LAMP/LNMP stacks, and shows how serverless Function‑as‑a‑Service platforms—especially Alibaba Cloud's Custom Runtime—enable PHP applications to run without managing servers, scale elastically, and simplify deployment with practical examples like WordPress.

DevOpsFaaSPHP
0 likes · 13 min read
How Serverless Transforms PHP Development: From LAMP to Elastic FaaS
Laravel Tech Community
Laravel Tech Community
Feb 24, 2022 · Backend Development

PHP 8.1.3 Security Release: Bug Fixes and Updates

PHP 8.1.3 has been released as a security‑focused update that fixes numerous core, FFI, filter, FPM, MBString, MySQLnd, pcntl, sockets, and standard extension bugs, and users of the 8.1 series are encouraged to upgrade promptly.

BackendPHPbug fixes
0 likes · 2 min read
PHP 8.1.3 Security Release: Bug Fixes and Updates
Laravel Tech Community
Laravel Tech Community
Feb 16, 2022 · Databases

Using Phinx for Database Migrations in ThinkPHP

This tutorial explains how to install, configure, and operate Phinx within a ThinkPHP project to manage database schema migrations, create and run seed data, update tables, roll back changes, and keep development environments synchronized.

CLIPHPPhinx
0 likes · 6 min read
Using Phinx for Database Migrations in ThinkPHP
21CTO
21CTO
Feb 12, 2022 · Backend Development

What’s New in PHP 8.1? Enums, Read‑only Properties, Async & Serverless Insights

The article reports Alexa’s shutdown and TIOBE’s shift to Similarweb, highlights the February TIOBE Top‑20 rankings with Python, C and Java gains, and dives into PHP 8.1’s new features—including enums, read‑only properties, async support, serverless frameworks, and a thriving ecosystem.

8.1EnumsPHP
0 likes · 5 min read
What’s New in PHP 8.1? Enums, Read‑only Properties, Async & Serverless Insights
21CTO
21CTO
Feb 9, 2022 · Backend Development

What’s New in Laravel 9? Explore the Latest Backend Features

Laravel 9, the first LTS release after a 12‑month cycle, brings PHP 8 support, Symfony Mailer integration, Flysystem 3.x, enhanced Eloquent accessors, new route group features, and a host of other backend improvements for modern web development.

LaravelLaravel 9PHP
0 likes · 4 min read
What’s New in Laravel 9? Explore the Latest Backend Features
php Courses
php Courses
Jan 6, 2022 · Backend Development

Implementing Redis Cache in PHP Using the __call Magic Method

This article explains how to integrate Redis caching into PHP applications by leveraging the __call magic method to create cache, clear, and flush operations for model methods, enabling shared model layers, resource‑efficient caching, flexible data source selection, and clean, reusable code.

BackendModelPHP
0 likes · 7 min read
Implementing Redis Cache in PHP Using the __call Magic Method
Laravel Tech Community
Laravel Tech Community
Dec 27, 2021 · Backend Development

New Features in PHP 8.1

The article outlines PHP 8.1’s major enhancements—including enums, readonly properties, advanced callable syntax, fibers, intersection types, never return type, final class constants, octal literals, and performance improvements—providing code comparisons that illustrate the new syntax and behavior.

8.1EnumsFibers
0 likes · 9 min read
New Features in PHP 8.1
php Courses
php Courses
Dec 8, 2021 · Backend Development

Top 10 New Features in PHP 8.1

This article introduces the ten most important new features of PHP 8.1—including enums, fibers, the never return type, readonly properties, final class constants, array_is_list(), fsync/fdatasync, string‑key array unpacking, the $_FILES full_path key, and the IntlDatePatternGenerator class—each explained with clear code examples.

BackendEnumsFibers
0 likes · 15 min read
Top 10 New Features in PHP 8.1
Laravel Tech Community
Laravel Tech Community
Dec 5, 2021 · Backend Development

PHP 8.1 Release and Performance Benchmark Report

The article announces the official release of PHP 8.1 and presents a detailed performance benchmark conducted on an Ubuntu Linux AMD EPYC 72F3 server, comparing multiple PHP versions and highlighting the roughly 4% speed improvement of PHP 8.1 over its predecessor.

LinuxPHPVersion 8.1
0 likes · 4 min read
PHP 8.1 Release and Performance Benchmark Report
Laravel Tech Community
Laravel Tech Community
Dec 2, 2021 · Backend Development

Laravel 8.74.0 Release Notes: New Features, Fixes, and Changes

The Laravel 8.74.0 release introduces new commands, helper methods, Eloquent aggregation, string reversal, database notification type customization, full‑text indexing, and several bug fixes and performance improvements, while also upgrading Symfony to 5.4 and refining queue connection handling.

Backend DevelopmentLaravelPHP
0 likes · 2 min read
Laravel 8.74.0 Release Notes: New Features, Fixes, and Changes
Laravel Tech Community
Laravel Tech Community
Dec 1, 2021 · Backend Development

Top 10 Popular PHP Frameworks You Should Know

This article reviews the ten most widely used PHP frameworks—Laravel, ThinkPHP, Yii, CodeIgniter, Symfony, CakePHP, Zend, Phalcon, FuelPHP, and Slim—highlighting their origins, key features, typical use cases, and the latest versions to help developers choose the right tool for their web projects.

Backend DevelopmentCodeIgniterLaravel
0 likes · 10 min read
Top 10 Popular PHP Frameworks You Should Know
21CTO
21CTO
Dec 1, 2021 · Backend Development

How Much Faster Is PHP 8.1? In‑Depth Benchmark Results Across Versions

An extensive Phoronix benchmark on Ubuntu‑based AMD EPYC servers compares PHP 8.1 with earlier releases, revealing roughly 4 % speed gains over PHP 8.0, lower peak memory usage, and consistent performance improvements across micro‑benchmarks, XML parsing, and JSON generation.

BackendPHPServer
0 likes · 5 min read
How Much Faster Is PHP 8.1? In‑Depth Benchmark Results Across Versions
Laravel Tech Community
Laravel Tech Community
Nov 30, 2021 · Backend Development

Symfony v6.0.0 Released: New Features, Bug Fixes, and Improvements

Symfony v6.0.0, an MVC‑based PHP framework, has been released, offering enterprise‑grade robustness, extensive configurability, and bundled tools, while introducing numerous bug fixes and new features such as a Vonage notifier bridge, enhanced DBAL support, and restored JSON type handling.

BugFixesPHPfeatures
0 likes · 3 min read
Symfony v6.0.0 Released: New Features, Bug Fixes, and Improvements
21CTO
21CTO
Nov 29, 2021 · Backend Development

Why PHP’s Bus Factor Is Only 2 and What the New PHP Foundation Means

The article explains how PHP’s alarmingly low bus factor of two sparked the creation of the PHP Foundation, detailing the key contributors, the backing companies, funding goals, and how the foundation aims to raise the bus factor and sustain core development.

Backend DevelopmentFoundationPHP
0 likes · 6 min read
Why PHP’s Bus Factor Is Only 2 and What the New PHP Foundation Means
360 Tech Engineering
360 Tech Engineering
Nov 26, 2021 · Backend Development

Implementing a Redis Message Queue with RPUSH and BLPOP in PHP

This article explains how to build a Redis‑based message queue for high‑concurrency business scenarios using RPUSH to enqueue tasks and BLPOP to block‑wait for consumption, illustrated with a PHP cancel‑order example and detailed configuration and code snippets.

BLPOPPHPRPUSH
0 likes · 6 min read
Implementing a Redis Message Queue with RPUSH and BLPOP in PHP