Tagged articles

PHP

3051 articles · Page 21 of 31
php Courses
php Courses
Jul 10, 2023 · Backend Development

How to Implement Video Upload with PHP

This tutorial explains how to create a PHP-based video upload feature, covering the front‑end HTML form, detailed back‑end PHP code with an upload_file function, error handling, and demonstrates the upload process with example screenshots.

PHPTutorialvideo upload
0 likes · 4 min read
How to Implement Video Upload with PHP
php Courses
php Courses
Jul 10, 2023 · Backend Development

How to Parse JSON Data in PHP: Encoding and Decoding Guide

This article explains what JSON is and demonstrates how to encode and decode JSON data in PHP using json_encode() and json_decode(), including examples with associative arrays, indexed arrays, JSON_FORCE_OBJECT, and iteration over decoded structures.

BackendData ParsingJSON
0 likes · 7 min read
How to Parse JSON Data in PHP: Encoding and Decoding Guide
php Courses
php Courses
Jul 10, 2023 · Backend Development

Embedding HTML in PHP: Common Methods and Code Examples

This article explains several common techniques for embedding HTML within PHP code, including echo statements, mixing PHP inside HTML files, using heredoc syntax, and including external HTML files via the include() function, each illustrated with clear code examples.

BackendEmbeddingHeredoc
0 likes · 3 min read
Embedding HTML in PHP: Common Methods and Code Examples
Architects Research Society
Architects Research Society
Jul 9, 2023 · Backend Development

Top 10 Backend Frameworks for Web Development in 2023

This article reviews the ten most popular backend frameworks for 2023—including Spring Boot, Django, Express.js, ASP.NET Core, Laravel, Ruby on Rails, Fiber, CakePHP, Flask, and Play—explaining their key features, language ecosystems, and recommended learning resources for developers of all levels.

BackendFrameworksJava
0 likes · 12 min read
Top 10 Backend Frameworks for Web Development in 2023
php Courses
php Courses
Jul 8, 2023 · Backend Development

Introduction to MQTT and PHP Implementation Example

MQTT is a lightweight, publish/subscribe messaging protocol ideal for IoT and mobile environments, offering low bandwidth usage, reliability, and TLS/SSL security, and the article provides a detailed PHP example demonstrating connection, subscription, publishing, message processing, and graceful disconnection.

IoTMQTTPHP
0 likes · 4 min read
Introduction to MQTT and PHP Implementation Example
php Courses
php Courses
Jul 7, 2023 · Backend Development

Understanding the __invoke() Magic Method in PHP

This article explains PHP's __invoke() magic method, showing how defining __invoke() allows an object to be called like a function, demonstrates usage with a Person class example, and notes version requirements and error behavior when misused.

Backend DevelopmentMagic MethodObject Invocation
0 likes · 2 min read
Understanding the __invoke() Magic Method in PHP
php Courses
php Courses
Jul 7, 2023 · Backend Development

Using print_r() and var_dump() to Print Arrays in PHP

This article explains the two primary PHP functions for displaying arrays—print_r() for readable output and var_dump() for detailed type and value information—provides syntax examples, and shows the resulting output of each function.

BackendPHParray
0 likes · 2 min read
Using print_r() and var_dump() to Print Arrays in PHP
Baidu Geek Talk
Baidu Geek Talk
Jul 5, 2023 · Backend Development

How Baidu Wenku App Migrated Its Backend from PHP to Go: Lessons and Results

This article details Baidu Wenku App's backend migration from a PHP‑based stack to Go, covering the motivation, technical debt, technology selection, step‑by‑step migration strategy, quality assurance practices, performance improvements, and key takeaways for large‑scale service refactoring.

Backend DevelopmentGoMicroservices
0 likes · 17 min read
How Baidu Wenku App Migrated Its Backend from PHP to Go: Lessons and Results
php Courses
php Courses
Jul 5, 2023 · Backend Development

Three Ways to Download Files in PHP

The article explains three PHP methods for file downloading: a direct link, a parameter‑based redirect that checks file existence, and a streamed download using head() and fread() with proper HTTP headers, comparing their simplicity and security implications.

File DownloadPHPSecurity
0 likes · 3 min read
Three Ways to Download Files in PHP
php Courses
php Courses
Jul 5, 2023 · Information Security

Using PHP Security Library Functions to Prevent Code Injection Attacks

This article introduces PHP security library functions such as htmlspecialchars(), htmlentities(), and mysqli_real_escape_string(), demonstrating with code examples how they filter and validate user input to prevent XSS and SQL injection attacks, while noting that additional security measures are still required.

PHPSQL injectionSecurity
0 likes · 4 min read
Using PHP Security Library Functions to Prevent Code Injection Attacks
php Courses
php Courses
Jul 4, 2023 · Backend Development

Using substr() and mb_substr() to Extract Substrings in PHP

This article explains how PHP's substr() and mb_substr() functions work, detailing their syntax, parameter behavior for positive and negative start and length values, and provides multiple code examples demonstrating string extraction for both English and multibyte Chinese characters.

BackendPHPString Manipulation
0 likes · 6 min read
Using substr() and mb_substr() to Extract Substrings in PHP
php Courses
php Courses
Jul 3, 2023 · Backend Development

Understanding PHP's Ternary Operator

The article explains PHP's ternary operator, covering its basic syntax, equivalence to if‑else statements, usage examples, extensions with multiple statements, nesting, best practices, and common pitfalls, providing clear code illustrations for developers seeking concise conditional expressions.

Code SimplificationPHPconditional expression
0 likes · 6 min read
Understanding PHP's Ternary Operator
Laravel Tech Community
Laravel Tech Community
Jul 2, 2023 · Backend Development

How to Install ThinkPHP 8.0 and Perform an Upgrade

This guide explains the system requirements for ThinkPHP 8.0, shows how to install Composer on different operating systems, provides step‑by‑step commands to install the framework, lists the main features of the 8.0 release, and offers instructions for upgrading from earlier versions.

ComposerInstallationPHP
0 likes · 2 min read
How to Install ThinkPHP 8.0 and Perform an Upgrade
php Courses
php Courses
Jun 30, 2023 · Backend Development

Implementing API Rate Limiting in PHP with Redis

This article explains how to implement API rate limiting in PHP by connecting to Redis, defining a RateLimiter class with limitRequests method, and demonstrates usage to restrict requests per time window, while detailing the underlying logic and code examples.

API Rate LimitingPHPRedis
0 likes · 5 min read
Implementing API Rate Limiting in PHP with Redis
php Courses
php Courses
Jun 30, 2023 · Backend Development

10 Essential PHP String Manipulation Functions with Examples

This article introduces ten essential PHP string manipulation functions—including substr, str_replace, implode, strpos, and sprintf—explaining their purpose and providing clear code examples that demonstrate how to extract, replace, concatenate, search, split, trim, and format strings efficiently in PHP development.

PHPString Functionsimplode
0 likes · 5 min read
10 Essential PHP String Manipulation Functions with Examples
php Courses
php Courses
Jun 29, 2023 · Backend Development

Understanding PHP Dispatch Mechanism and Method Overriding

This article explains PHP's dispatch mechanism, showing how the runtime selects the appropriate method based on an object's actual class, and demonstrates polymorphism through a simple Animal‑Dog‑Cat example with complete code and output explanations.

DispatchOOPPHP
0 likes · 3 min read
Understanding PHP Dispatch Mechanism and Method Overriding
php Courses
php Courses
Jun 28, 2023 · Backend Development

Simulating Website Login with PHP cURL

This guide demonstrates how to use PHP's cURL library to programmatically log into a website by configuring the login URL, form fields, request options, handling errors, and processing the response for tasks such as data scraping or automated testing.

Login AutomationPHPWeb Scraping
0 likes · 4 min read
Simulating Website Login with PHP cURL
php Courses
php Courses
Jun 28, 2023 · Backend Development

Integrating PHP with WeChat Work: Step-by-Step Guide

This guide explains how to integrate PHP with WeChat Work by registering a corporate account, creating an application, obtaining credentials, using PHP’s HTTP requests to acquire access tokens, and sending messages or retrieving user data, including a complete code example.

APIAccess TokenBackend Integration
0 likes · 4 min read
Integrating PHP with WeChat Work: Step-by-Step Guide
php Courses
php Courses
Jun 28, 2023 · Frontend Development

Real-time Data Visualization Using PHP WebSocket and Highcharts

This tutorial explains how to build a real-time data visualization feature by setting up a PHP WebSocket server with Ratchet and displaying live data on the client side using Highcharts, covering environment setup, server and client code, and deployment considerations.

Data VisualizationPHPWebSocket
0 likes · 9 min read
Real-time Data Visualization Using PHP WebSocket and Highcharts
php Courses
php Courses
Jun 28, 2023 · Backend Development

Using Micro‑Habits to Learn PHP Effectively

The article examines how micro‑habits—short, daily PHP coding or reading sessions—can exploit the spacing effect and convenience to improve retention of simple PHP knowledge, while highlighting their limitations for complex, high‑cognitive‑load skills that require deliberate, focused practice.

Learning StrategiesMicro‑habitsPHP
0 likes · 6 min read
Using Micro‑Habits to Learn PHP Effectively
php Courses
php Courses
Jun 27, 2023 · Backend Development

Comprehensive Guide to PHP foreach Loop with Examples

This article thoroughly explains PHP's foreach loop syntax, demonstrates its use with indexed, associative, and multidimensional arrays, and provides complete code examples showing how to access values and keys in each scenario.

BackendLoopPHP
0 likes · 6 min read
Comprehensive Guide to PHP foreach Loop with Examples
php Courses
php Courses
Jun 21, 2023 · Backend Development

Using PHP to Recognize QR Codes and Output Their Content

This article explains how to use the PHP library phpqrcode (via Zxing) to read QR code images, extract their text content, and display it in a web browser, including installation steps and sample code.

PHPQR codeimage recognition
0 likes · 5 min read
Using PHP to Recognize QR Codes and Output Their Content
Laravel Tech Community
Laravel Tech Community
Jun 20, 2023 · Backend Development

Understanding PHP Magic Methods: Constructors, Destructors, Call, CallStatic, Get, Set, Isset, Unset, Sleep and Wakeup

This article explains the purpose, declaration syntax, usage rules, and practical examples of PHP's magic methods—including __construct, __destruct, __call, __callStatic, __get, __set, __isset, __unset, __sleep, and __wakeup—providing clear code snippets and output demonstrations for each.

OOPPHPmagic methods
0 likes · 16 min read
Understanding PHP Magic Methods: Constructors, Destructors, Call, CallStatic, Get, Set, Isset, Unset, Sleep and Wakeup
Laravel Tech Community
Laravel Tech Community
Jun 18, 2023 · Backend Development

Why PHP’s Reputation Is Unfair: Practices, Security, Performance, and Scalability

Although PHP has long suffered a poor reputation, modern practices, frameworks, and security measures have largely eliminated its historic pitfalls, making it a performant, scalable, and secure choice for web applications, while acknowledging its relative speed compared to compiled languages and its suitability for specific use cases.

PHPPerformanceweb development
0 likes · 5 min read
Why PHP’s Reputation Is Unfair: Practices, Security, Performance, and Scalability
php Courses
php Courses
Jun 18, 2023 · Backend Development

In-depth Exploration of the Swoft Microservice Framework: Features, Installation, and Performance Comparison with Laravel

This article provides a comprehensive overview of the Swoft microservice framework, detailing its high‑performance architecture, core features such as annotation routing and AOP, step‑by‑step installation, and benchmark results that demonstrate its superiority over Laravel in handling concurrent requests.

Laravel ComparisonMicroservicesPHP
0 likes · 8 min read
In-depth Exploration of the Swoft Microservice Framework: Features, Installation, and Performance Comparison with Laravel
php Courses
php Courses
Jun 16, 2023 · Backend Development

Building High-Performance Concurrent and Asynchronous PHP Applications with ReactPHP and Amp

This article explains why high‑performance concurrent and asynchronous PHP applications are needed, introduces ReactPHP and Amp as non‑blocking I/O libraries, and provides step‑by‑step code examples for creating a simple HTTP server with ReactPHP and performing parallel HTTP requests using both ReactPHP and Amp.

AMPAsynchronous ProgrammingPHP
0 likes · 5 min read
Building High-Performance Concurrent and Asynchronous PHP Applications with ReactPHP and Amp
php Courses
php Courses
Jun 14, 2023 · Backend Development

Using PHP and Selenium WebDriver for Browser-Based Web Scraping

This article explains how to install php-webdriver via Composer, set up a Selenium WebDriver instance in PHP, and write a script that automates a Chrome browser to scrape search results from Baidu, demonstrating key WebDriver APIs for element interaction and data extraction.

PHPWeb Scrapingautomation
0 likes · 5 min read
Using PHP and Selenium WebDriver for Browser-Based Web Scraping
php Courses
php Courses
Jun 12, 2023 · Backend Development

Using ThinkPHP 6 for Email Queue Processing

This article explains how to set up and use ThinkPHP 6’s email queue functionality, covering Redis installation, queue configuration, creating a SendMailJob class, pushing jobs to the queue, and running the queue listener to improve email sending performance and reliability.

Email QueuePHPRedis
0 likes · 5 min read
Using ThinkPHP 6 for Email Queue Processing
php Courses
php Courses
Jun 5, 2023 · Backend Development

Implementing Multilingual Support in PHP Web Applications

This article explains how to add multilingual support to PHP web applications by creating language files, loading them based on user preferences, using a translation function, and providing a language selector, complete with sample code for each step.

PHPlocalizationmultilingual
0 likes · 4 min read
Implementing Multilingual Support in PHP Web Applications
php Courses
php Courses
Jun 4, 2023 · Backend Development

Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole

This tutorial demonstrates how to combine Swoole's high‑performance PHP WebSocket server with WebRTC's browser‑based real‑time audio/video capabilities, covering server setup, client media capture, video segmentation with FFmpeg, and complete code examples to build a functional live‑streaming application.

FFmpegJavaScriptPHP
0 likes · 6 min read
Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole
php Courses
php Courses
May 28, 2023 · Backend Development

Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide

This tutorial explains how to build a PHP-based single sign‑on system using a main login application, a shared authentication service backed by MySQL and Redis, and multiple external applications, providing complete code examples for database setup, login handling, session sharing, and logout.

AuthenticationMySQLPHP
0 likes · 8 min read
Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide
php Courses
php Courses
May 25, 2023 · Backend Development

Using PHP 8.0 FFI Extension to Integrate C Libraries

This article introduces PHP 8.0's built‑in FFI extension, explains its key features, demonstrates how to compile a simple C library into a shared object, and shows step‑by‑step PHP code to load the library, call its functions, and display the results.

C integrationFFIPHP
0 likes · 7 min read
Using PHP 8.0 FFI Extension to Integrate C Libraries
Laravel Tech Community
Laravel Tech Community
May 21, 2023 · Backend Development

Generating URLs in Laravel with Helper Functions

This article explains Laravel's URL helper functions, showing how to generate basic URLs, retrieve the current URL, create URLs for named routes—including routes with parameters and Eloquent models—and produce signed and temporary signed URLs for secure link handling.

LaravelPHPSigned URLs
0 likes · 5 min read
Generating URLs in Laravel with Helper Functions
php Courses
php Courses
May 20, 2023 · Information Security

Preventing Brute‑Force Attacks in PHP Applications

This article explains what brute‑force attacks are, why they threaten PHP applications, and presents three practical defenses—two‑factor authentication, enforced password policies, and brute‑force mitigation techniques—along with complete PHP code examples for each method.

PHPSecuritybrute-force
0 likes · 4 min read
Preventing Brute‑Force Attacks in PHP Applications
php Courses
php Courses
May 19, 2023 · Backend Development

Best Practices for Managing REST APIs with Laravel

This article outlines best practices for building and managing RESTful APIs using Laravel, covering resource routing, API route groups, request and response handling, middleware for authentication and access control, and controller implementation, with code examples illustrating each concept.

LaravelPHPmiddleware
0 likes · 8 min read
Best Practices for Managing REST APIs with Laravel
php Courses
php Courses
May 19, 2023 · Backend Development

Eliminating Duplicate and Redundant Code in PHP: Refactoring Techniques

This article explains how to remove duplicate and redundant PHP code by applying refactoring principles such as the DRY rule, using functions and classes, adopting naming conventions, simplifying conditionals, and externalizing configuration, thereby improving readability, maintainability, and performance.

Backend DevelopmentDRYPHP
0 likes · 7 min read
Eliminating Duplicate and Redundant Code in PHP: Refactoring Techniques
php Courses
php Courses
May 13, 2023 · Artificial Intelligence

Implementing Face Recognition with ThinkPHP and Tencent Cloud AI

This tutorial explains how to integrate Tencent Cloud's facial recognition services with the ThinkPHP framework, covering SDK installation, API key setup, and sample code for face detection, comparison, and identification using PHP.

AIAPIPHP
0 likes · 6 min read
Implementing Face Recognition with ThinkPHP and Tencent Cloud AI
Open Source Tech Hub
Open Source Tech Hub
May 11, 2023 · Backend Development

How to Install and Use XHProf for PHP Performance Profiling

Learn how to install XHProf via PECL or source, configure php.ini, verify the installation, integrate the XhprofMiddleware into your PHP application, and interpret the detailed performance metrics and visual reports, including function call statistics and memory usage, with example commands and code snippets.

InstallationPHPXHProf
0 likes · 6 min read
How to Install and Use XHProf for PHP Performance Profiling
php Courses
php Courses
May 10, 2023 · Backend Development

How to Build a Map Application with PHP and AMap (Gaode) API

This article guides developers through obtaining an AMap API key, setting up a PHP environment, retrieving geolocation data via the API, and embedding an interactive map with optional routing features using JavaScript, providing complete code examples for each step.

Amap APIGeocodingMap Development
0 likes · 7 min read
How to Build a Map Application with PHP and AMap (Gaode) API
php Courses
php Courses
May 7, 2023 · Backend Development

Integrating Alibaba Cloud SMS Service with ThinkPHP6

This guide explains how to set up Alibaba Cloud SMS, configure the required Access Key ID and Secret, install the SDK, and use ThinkPHP6 to call the SMS API with sample PHP code, highlighting the steps and placeholders that must be replaced with your own credentials.

APIAlibaba CloudPHP
0 likes · 4 min read
Integrating Alibaba Cloud SMS Service with ThinkPHP6
php Courses
php Courses
May 5, 2023 · Backend Development

How to Optimize Website Performance with PhpFastCache in PHP

This article explains step‑by‑step how to install, configure, and use the PhpFastCache library in PHP—including selecting cache drivers, setting and retrieving cached data, managing expiration, and employing namespaces—to improve website performance by reducing database queries.

PHPPerformance OptimizationPhpFastCache
0 likes · 4 min read
How to Optimize Website Performance with PhpFastCache in PHP
php Courses
php Courses
May 4, 2023 · Backend Development

How to Write a Simple PHP Web Crawler

This guide explains how to create a basic PHP web crawler by using cURL to fetch pages, DOMDocument and XPath to parse HTML, and then storing the extracted data, while also providing a complete example script and reminders about legal and ethical considerations.

Backend DevelopmentDOMDocumentPHP
0 likes · 3 min read
How to Write a Simple PHP Web Crawler
php Courses
php Courses
May 2, 2023 · Backend Development

PHP Payment Development: Interview Questions and Answers

This article presents a comprehensive collection of PHP payment interview questions covering implementation steps, amount validation, SQL injection prevention, request fraud protection, data encryption, secure credential storage, callback handling, and OAuth integration, providing detailed answers and code examples for each topic.

Backend DevelopmentPHPPayment Integration
0 likes · 7 min read
PHP Payment Development: Interview Questions and Answers
php Courses
php Courses
Apr 29, 2023 · Backend Development

Using Laravel Pennant for Feature Flags in Laravel 10

Laravel Pennant, introduced with Laravel 10, provides a robust feature‑flag system that lets developers gradually roll out new functionality, perform A/B testing, and implement trunk‑based development strategies, with examples showing both closure‑based and class‑based definitions, controller usage, and middleware integration.

Feature FlagsLaravelLaravel10
0 likes · 4 min read
Using Laravel Pennant for Feature Flags in Laravel 10
php Courses
php Courses
Apr 29, 2023 · Backend Development

Implementing Distributed Locks with Redis in PHP to Prevent Overselling

This article explains how to prevent overselling in high‑concurrency scenarios by using Redis‑based distributed locks in PHP, detailing initialization, lock acquisition with setnx, unlocking with del, and providing complete sample code along with best‑practice considerations.

PHPRedisdistributed lock
0 likes · 4 min read
Implementing Distributed Locks with Redis in PHP to Prevent Overselling
php Courses
php Courses
Apr 28, 2023 · Backend Development

Implementing Lock and Unlock Operations with PHP and Redis

This article explains how to use PHP and Redis to create a blocking lock for a game room, safely add users while preventing dirty reads, and release the lock atomically with a Lua script, providing complete code examples and practical tips.

LuaPHPRedis
0 likes · 4 min read
Implementing Lock and Unlock Operations with PHP and Redis
37 Interactive Technology Team
37 Interactive Technology Team
Apr 24, 2023 · Backend Development

Implementing WeChat Work Schedule Synchronization in the Enterprise Messaging Center

The Enterprise Messaging Center now offers a reusable component that integrates WeChat Work’s schedule API, enabling add, update, and delete operations, exposing CRUD interfaces for external systems such as the meeting‑room platform, streamlining schedule synchronization and reducing duplicate data entry across services.

Backend IntegrationEnterprise MessagingPHP
0 likes · 5 min read
Implementing WeChat Work Schedule Synchronization in the Enterprise Messaging Center
php Courses
php Courses
Apr 23, 2023 · Backend Development

Step‑by‑Step Guide to Building a PHP MVC Framework from Scratch

This article provides a step‑by‑step guide to building a PHP MVC framework from scratch, covering MVC basics, directory structure, routing, controllers, models, views, core utilities, and includes sample code snippets throughout for developers.

MVCORMPHP
0 likes · 9 min read
Step‑by‑Step Guide to Building a PHP MVC Framework from Scratch
php Courses
php Courses
Apr 21, 2023 · Backend Development

Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole

This article demonstrates how to combine Swoole's high‑performance WebSocket server with WebRTC to create a real‑time audio/video live streaming application, covering server setup, client media capture, video segmenting with FFmpeg, and providing complete code examples for each step.

FFmpegJavaScriptPHP
0 likes · 6 min read
Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole
php Courses
php Courses
Apr 20, 2023 · Backend Development

Using Laravel Pennant for Feature Flags in Laravel 10

This article introduces Laravel Pennant, the official feature‑flag package for Laravel 10, explains its benefits for gradual releases and A/B testing, and provides clean code examples showing how to define and use feature flags within service providers, controllers, and middleware.

Feature FlagsLaravelPHP
0 likes · 4 min read
Using Laravel Pennant for Feature Flags in Laravel 10
php Courses
php Courses
Apr 10, 2023 · Backend Development

A PHP Web Crawler: Design, Implementation, and Challenges

This article describes a PHP‑based web crawler that extracts links and images using regular expressions, stores URLs in MySQL, handles duplicate detection via MD5, discusses performance limitations, and provides the full source code and usage instructions.

Backend DevelopmentMySQLPHP
0 likes · 8 min read
A PHP Web Crawler: Design, Implementation, and Challenges
php Courses
php Courses
Apr 5, 2023 · Backend Development

Three Ways to Set PHP Script Maximum Execution Time

This article explains three methods—editing php.ini, using ini_set, and calling set_time_limit—to increase PHP's default 30‑second script execution limit, and provides guidance on when each method is appropriate.

Backend DevelopmentPHPini_set
0 likes · 3 min read
Three Ways to Set PHP Script Maximum Execution Time
php Courses
php Courses
Mar 25, 2023 · Backend Development

PHP Calendar Class Tutorial with Full Implementation

This tutorial explains how to build a reusable PHP Calendar class that handles year, month, navigation and renders an HTML table, and shows a simple front‑end script that loads the class and displays the calendar, complete with CSS styling and example output.

PHPcalendarclass
0 likes · 10 min read
PHP Calendar Class Tutorial with Full Implementation
php Courses
php Courses
Mar 25, 2023 · Backend Development

ThinkPHP Hook Behaviors: Concepts, Usage Examples, and Implementation

This article explains the concept of ThinkPHP Hook behaviors, demonstrates how to define custom behavior classes, bind them to tags using Hook::add, trigger them with Hook::listen, and configure tag bindings in tags.php, providing complete code examples for a login scenario.

PHPThinkPHPbehavior
0 likes · 6 min read
ThinkPHP Hook Behaviors: Concepts, Usage Examples, and Implementation
php Courses
php Courses
Mar 21, 2023 · Backend Development

How to Locate php.ini and List Enabled PHP Extensions

This article explains two methods to locate the php.ini file and view installed PHP extensions—using a simple PHP script with phpinfo() and the command‑line tools php -m and php --ini—while also promoting a PHP online training class with enrollment details.

Backend DevelopmentPHPcommand line
0 likes · 3 min read
How to Locate php.ini and List Enabled PHP Extensions
Laravel Tech Community
Laravel Tech Community
Mar 19, 2023 · Backend Development

Key Changes and New Features in PHPUnit 10

PHPUnit 10, requiring PHP 8.1+, introduces a new event system, clearer test result classifications, PHP 8 attribute metadata support, and updated code‑coverage tools, while providing PHAR and Composer installation methods, representing a major modernization of the PHP testing framework.

CodeCoveragePHPUnitTesting
0 likes · 5 min read
Key Changes and New Features in PHPUnit 10
php Courses
php Courses
Mar 14, 2023 · Backend Development

PHP Refactoring Techniques: Naming, Extraction, Early Return, Collections, and Consistency

This article demonstrates practical PHP refactoring techniques—including expressive naming, method extraction, early returns, leveraging Laravel collections, and maintaining code consistency—by showing before-and-after code examples that improve readability, reduce duplication, and simplify logic for backend developers.

Backend DevelopmentLaravelPHP
0 likes · 13 min read
PHP Refactoring Techniques: Naming, Extraction, Early Return, Collections, and Consistency
php Courses
php Courses
Feb 20, 2023 · Backend Development

Laravel 10 Release: New Features, Requirements, and Upgrade Guide

Laravel 10 has been released with a minimum PHP 8.1 requirement, introducing Laravel Pennant feature flags, an enhanced Process layer, native type declarations, invokable validation rules, testing profiling, a new password helper, and detailed upgrade and support timelines.

FeatureFlagsLaravelLaravel10
0 likes · 7 min read
Laravel 10 Release: New Features, Requirements, and Upgrade Guide
Laravel Tech Community
Laravel Tech Community
Feb 15, 2023 · Information Security

ThinkPHP Deserialization Vulnerability (CVE-2022-45982)

The ThinkPHP framework suffers from a deserialization vulnerability (CVE‑2022‑45982) affecting versions 6.0.0‑6.0.13 and 6.1.0‑6.1.1, where unsanitized user input passed to unserialize() can allow attackers to execute arbitrary system commands, and no official patch has been released yet.

CVE-2022-45982PHPThinkPHP
0 likes · 2 min read
ThinkPHP Deserialization Vulnerability (CVE-2022-45982)
Laravel Tech Community
Laravel Tech Community
Feb 14, 2023 · Backend Development

CodeIgniter 4.3.0 Release Notes and Upgrade Guide

The announcement details CodeIgniter version 4.3.0, highlighting over 50 enhancements, important breaking changes, required updates to the spark executable and configuration files, and provides links to the changelog and upgrade guide for developers to safely migrate their applications.

Backend DevelopmentCodeIgniterPHP
0 likes · 2 min read
CodeIgniter 4.3.0 Release Notes and Upgrade Guide
Laravel Tech Community
Laravel Tech Community
Feb 8, 2023 · Frontend Development

Large File Upload Techniques and Implementation with Chunked Upload, Base64 Encoding, and FormData

This article explains the challenges of uploading very large files in web applications and presents several front‑end solutions—including traditional form uploads, Base64 encoding, binary FormData uploads, iframe tricks, and chunked (slice) uploads—accompanied by complete PHP server‑side examples and reusable code snippets.

Base64FormDataPHP
0 likes · 10 min read
Large File Upload Techniques and Implementation with Chunked Upload, Base64 Encoding, and FormData
php Courses
php Courses
Feb 2, 2023 · Backend Development

PHP+MySQL Website Programming Introductory Course (Cantonese)

This free Cantonese-language course introduces PHP7 fundamentals, MySQL database connection, and simple website development using professional tools, empowering learners to build their own web projects, with all materials available online via the provided link.

CantoneseMySQLPHP
0 likes · 1 min read
PHP+MySQL Website Programming Introductory Course (Cantonese)
Laravel Tech Community
Laravel Tech Community
Jan 31, 2023 · Backend Development

Three Methods to Implement File Download in PHP

This article demonstrates three PHP approaches for offering file downloads: a direct link, a parameter‑based redirect, and streaming the file with headers, comparing their implementation details and security implications.

File DownloadPHP
0 likes · 4 min read
Three Methods to Implement File Download in PHP
21CTO
21CTO
Jan 19, 2023 · Backend Development

How PHP 8.2 and the PHP Foundation Are Shaping Web Development in 2023

This article reviews the rapid evolution of PHP over the past decade, highlights the role of the PHP Foundation, showcases new PHP 8.2 features with code examples, and analyses ecosystem statistics such as Packagist growth and framework adoption to illustrate why 2023 is a pivotal year for PHP developers.

Backend DevelopmentPHPPHP 8.2
0 likes · 10 min read
How PHP 8.2 and the PHP Foundation Are Shaping Web Development in 2023
php Courses
php Courses
Jan 17, 2023 · Backend Development

Implementing the Chain of Responsibility Design Pattern in PHP with Hyperf

This article demonstrates how to implement the Chain of Responsibility design pattern in PHP using the Hyperf framework, detailing the file structure, core classes such as IndexController, HandlerInterface, AbstractHandler, and concrete handlers, and includes a unit test example to verify the workflow.

Backend DevelopmentChain of ResponsibilityDesign Pattern
0 likes · 7 min read
Implementing the Chain of Responsibility Design Pattern in PHP with Hyperf
Laravel Tech Community
Laravel Tech Community
Jan 12, 2023 · Backend Development

Using Carbon PHP Extension for Simplified Date and Time Manipulation

This article demonstrates how to install and use the Carbon PHP extension to simplify date and time operations, covering retrieval of current, today, yesterday, tomorrow, parsing specific strings, timezone handling, adding and subtracting years, months, weeks, days, hours, minutes, seconds, and formatting dates in various styles.

CarbonPHPdate manipulation
0 likes · 6 min read
Using Carbon PHP Extension for Simplified Date and Time Manipulation
php Courses
php Courses
Jan 10, 2023 · Frontend Development

Vue 2022 Review and 2023 Roadmap, Plus PHP Live Class Announcement

The article reviews Vue’s 2022 milestones—including the shift to Vue 3, ecosystem growth, and tooling improvements—outlines the 2023 roadmap with smaller, frequent releases, experimental Vapor mode, and also advertises an upcoming PHP online live course with enrollment details.

JavaScriptOnlineCoursePHP
0 likes · 8 min read
Vue 2022 Review and 2023 Roadmap, Plus PHP Live Class Announcement
macrozheng
macrozheng
Jan 3, 2023 · Cloud Native

Deploy DooTask: Open-Source Docker‑Based Task Manager for Teams

This article introduces DooTask, an open‑source PHP task‑management platform, explains its features and multi‑client support, and provides step‑by‑step Docker installation instructions along with screenshots of its UI components for effective project coordination.

PHPdeploymentopen-source
0 likes · 5 min read
Deploy DooTask: Open-Source Docker‑Based Task Manager for Teams
php Courses
php Courses
Dec 27, 2022 · Fundamentals

2022 Top 8 Programming Languages by Developer Job Demand

The 2022 DevJobsScanner analysis of over 12 million developer job postings reveals JavaScript/TypeScript as the most demanded language followed by Python, Java, C#, PHP, C/C++, Ruby and Go, and concludes with a promotional announcement for a new PHP online live class.

2022JavaScriptPHP
0 likes · 7 min read
2022 Top 8 Programming Languages by Developer Job Demand
Laravel Tech Community
Laravel Tech Community
Dec 25, 2022 · Backend Development

How to Install and Configure think-captcha in ThinkPHP

This tutorial walks through installing the think-captcha package via Composer, configuring its parameters, generating and displaying captchas in a ThinkPHP controller and view, setting up routing, and validating user input using both object and helper methods.

PHPThinkPHPTutorial
0 likes · 2 min read
How to Install and Configure think-captcha in ThinkPHP
php Courses
php Courses
Dec 23, 2022 · Backend Development

Integrating Taobao Open Platform SDK with ThinkPHP 5.1 Using Topsdk\Topapi

This guide walks through the process of applying for a Taobao Open Platform account, downloading the Topsdk\Topapi SDK, adding it to a ThinkPHP 5.1 project via Composer, testing the integration with a controller, and handling common pitfalls such as missing classes and documentation mismatches.

ComposerPHPSDK
0 likes · 3 min read
Integrating Taobao Open Platform SDK with ThinkPHP 5.1 Using Topsdk\Topapi
php Courses
php Courses
Dec 22, 2022 · Backend Development

PHP Multi‑Process Development: Processes, Signals, and pcntl Functions

This article provides a comprehensive guide to PHP multi‑process development on Linux, covering basic shell commands, ELF file types, terminal concepts, process states, orphan and zombie processes, process groups and sessions, signal handling, and practical pcntl/posix code examples for forking, daemonizing, and managing child processes.

Backend DevelopmentPHPUnix
0 likes · 15 min read
PHP Multi‑Process Development: Processes, Signals, and pcntl Functions