Tagged articles

PHP

3032 articles · Page 12 of 31
php Courses
php Courses
Aug 20, 2024 · Backend Development

Using PHP array_unique() to Remove Duplicate Elements

This article explains the PHP array_unique() function, its syntax and parameters, demonstrates how to remove duplicate values from arrays with practical code examples, and shows how the optional $sort_flag argument can affect sorting behavior.

PHParray_uniquebackend
0 likes · 4 min read
Using PHP array_unique() to Remove Duplicate Elements
Open Source Tech Hub
Open Source Tech Hub
Aug 19, 2024 · Backend Development

Master Composer: Dependency Management, Autoloading, and Global Configuration for PHP

Composer is a PHP dependency manager that automates library installation, version locking, autoloading, and integrates with tools like PHPUnit; the guide explains its core features, installation steps, use of domestic mirrors, global and project‑specific configuration, package requiring commands, and the importance of the composer.lock file.

Dependency ManagementPHPbackend development
0 likes · 12 min read
Master Composer: Dependency Management, Autoloading, and Global Configuration for PHP
Open Source Tech Hub
Open Source Tech Hub
Aug 16, 2024 · Backend Development

Unlock Modern PHP Development with the PSL Standard Library

The article introduces azjezz/psl, a PHP Standard Library inspired by hhvm/hsl, explains its goals, features, Composer installation, integration with Psalm and PHPStan, and provides detailed code examples for async tasks, password handling, Unix socket communication, and TCP parallel networking.

PHPPSLcomposer
0 likes · 9 min read
Unlock Modern PHP Development with the PSL Standard Library
php Courses
php Courses
Aug 15, 2024 · Backend Development

Applying the Interface Programming Principle in Laravel: From SMS to Email Notifications

This article explains the interface‑programming principle, demonstrates its benefits with SMS and email notification services in Laravel, shows how to refactor code using an INotification interface, and configures the service container to switch implementations seamlessly, illustrating a flexible, maintainable backend design.

PHPService Containerbackend-development
0 likes · 8 min read
Applying the Interface Programming Principle in Laravel: From SMS to Email Notifications
21CTO
21CTO
Aug 14, 2024 · Backend Development

Explore a PHP‑Based “Operating System”: Installation Guide and Demo

A Japanese PHP developer released an open‑source project that simulates an operating system using PHP, currently only outputs "Hello World!" in an emulator, and the article provides step‑by‑step installation instructions for macOS and Composer usage.

Installation guidePHPbackend development
0 likes · 2 min read
Explore a PHP‑Based “Operating System”: Installation Guide and Demo
php Courses
php Courses
Aug 14, 2024 · Backend Development

Using PHP's ceil() Function to Round Numbers Upward

This article explains PHP's ceil() function, shows its syntax, and provides three code examples demonstrating how to round floating‑point numbers and integers upward, illustrating the returned smallest integer greater than or equal to the given value.

MathematicsPHPRounding
0 likes · 4 min read
Using PHP's ceil() Function to Round Numbers Upward
Open Source Tech Hub
Open Source Tech Hub
Aug 13, 2024 · Backend Development

How to Generate Distributed Unique IDs with Snowflake in PHP

Learn the fundamentals of Twitter's Snowflake distributed ID algorithm, its 64‑bit structure, and step‑by‑step PHP implementation—including installation via Composer, basic usage, custom data‑center and worker IDs, start timestamps, Laravel integration, and custom sequence resolvers—to generate globally unique, time‑ordered identifiers.

PHPdistributed IDlaravel
0 likes · 6 min read
How to Generate Distributed Unique IDs with Snowflake in PHP
Open Source Tech Hub
Open Source Tech Hub
Aug 12, 2024 · Backend Development

Compiling ThinkPHP8 with BPC: From Migration to Running OurBlog

This article explains how BPC, a PHP native compiler, can translate ThinkPHP8 code into C, outlines the required dependencies, details the migration of the OurBlog sample project, describes necessary code adjustments, and provides step‑by‑step instructions to compile and run the resulting binary.

BPCCompilationPHP
0 likes · 6 min read
Compiling ThinkPHP8 with BPC: From Migration to Running OurBlog
php Courses
php Courses
Aug 12, 2024 · Backend Development

Using PHP array() Function to Create Indexed and Associative Arrays

This article explains the PHP array() function, demonstrates how to create both indexed and associative arrays with clear examples, outlines important usage notes, and provides sample code for various array types to help developers master array creation in PHP.

ArrayPHPassociative array
0 likes · 5 min read
Using PHP array() Function to Create Indexed and Associative Arrays
Open Source Tech Hub
Open Source Tech Hub
Aug 10, 2024 · Cloud Computing

Integrating Alibaba Cloud Drive API with PHP: Complete Guide and Code Samples

This article explains how to integrate Alibaba Cloud Drive's personal cloud storage capabilities into PHP applications, covering platform overview, OAuth2 authorization flow, essential API endpoints, detailed PHP class implementations, and practical examples for uploading files, managing folders, and retrieving download links.

API IntegrationAlibaba Cloud DriveOAuth2
0 likes · 18 min read
Integrating Alibaba Cloud Drive API with PHP: Complete Guide and Code Samples
php Courses
php Courses
Aug 9, 2024 · Backend Development

Using array_filter() to Filter Arrays in PHP

This article explains the PHP array_filter() function, its parameters, and demonstrates how to filter numeric arrays and associative arrays with practical code examples, helping developers efficiently remove unwanted elements based on custom callback logic.

ArrayPHParray_filter
0 likes · 5 min read
Using array_filter() to Filter Arrays in PHP
php Courses
php Courses
Aug 9, 2024 · Backend Development

Using PHP file() Function to Read Files into an Array

This article explains how the PHP file() function reads a file's contents into an array, details its syntax and parameters, demonstrates basic and flag‑based usage with code examples, and highlights important behavior such as line handling and newline removal.

ArrayPHPbackend
0 likes · 4 min read
Using PHP file() Function to Read Files into an Array
Open Source Tech Hub
Open Source Tech Hub
Aug 7, 2024 · Backend Development

Boost PHP Excel Performance with the High‑Speed xlswriter Extension

The article introduces xlswriter, a high‑performance PHP C extension for reading and writing Excel 2007+ XLSX files across major operating systems, compares it with PHPExcel, presents benchmark results, explains PECL installation, and provides detailed code examples for exporting, importing, and chart generation.

Data ExportExcelPHP
0 likes · 7 min read
Boost PHP Excel Performance with the High‑Speed xlswriter Extension
php Courses
php Courses
Aug 7, 2024 · Backend Development

Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries

This article introduces PHP 7.4's Foreign Function Interface (FFI), explains how to enable it, demonstrates basic usage and advanced examples for calling C functions, discusses performance considerations, security best practices, troubleshooting, and future directions for PHP developers.

C integrationFFIPHP
0 likes · 8 min read
Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries
Open Source Tech Hub
Open Source Tech Hub
Aug 5, 2024 · Backend Development

Secure Your PHP Code with Zephir: Build a Custom Encryption Extension

Learn how to protect PHP source code by creating a custom Zephir‑based encryption extension, covering repository setup, directory structure, licensing logic, abstract and live modules, compilation steps, php.ini configuration, and testing with example authorization codes.

Code EncryptionExtensionPHP
0 likes · 9 min read
Secure Your PHP Code with Zephir: Build a Custom Encryption Extension
Open Source Tech Hub
Open Source Tech Hub
Aug 5, 2024 · Backend Development

Boost PHP Performance with PRipple: A Native Coroutine Framework

PRipple is a high‑performance native PHP coroutine framework built on PHP 8.1 fibers and the Revolt library, offering simple APIs for asynchronous I/O, seamless integration with popular PHP frameworks, and easy installation via Composer for developing concurrent, high‑load applications.

Async I/OPHPPerformance
0 likes · 6 min read
Boost PHP Performance with PRipple: A Native Coroutine Framework
php Courses
php Courses
Aug 5, 2024 · Backend Development

Using PHP usort() Function for Custom Array Sorting

This article explains the PHP usort() function, detailing its syntax, how to write custom comparison callbacks, and provides step‑by‑step examples for sorting numeric arrays, associative arrays of objects, and handling common pitfalls such as return values and in‑place array modification.

PHParray sortingbackend-development
0 likes · 6 min read
Using PHP usort() Function for Custom Array Sorting
php Courses
php Courses
Aug 5, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Recursively Merge Arrays

This article explains PHP's array_replace_recursive() function, detailing its syntax, recursive merging behavior, example usage with code, output interpretation, important considerations, and compares it with array_merge_recursive() for effective backend array handling in PHP development.

ArrayPHPRecursion
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Recursively Merge Arrays
php Courses
php Courses
Aug 2, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates three practical examples—simple replacement, replacing multiple words with an array, and deleting characters—showing the resulting output and highlighting additional options available in the official documentation.

PHPbackendphp-functions
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Aug 1, 2024 · Backend Development

Understanding and Using PHP's is_file() Function

The article explains PHP's is_file() function, how it determines file existence, proper usage with absolute or relative paths, differences from is_dir(), handling of symlinks, and provides practical code examples for checking files before reading them, emphasizing its importance for backend developers.

File HandlingPHPbackend
0 likes · 4 min read
Understanding and Using PHP's is_file() Function
php Courses
php Courses
Aug 1, 2024 · Information Security

Common PHP Pitfalls and Effective Prevention Strategies

This article examines frequent security and quality pitfalls in PHP development—such as deprecated functions, SQL injection, XSS, insecure file inclusion, poor error handling, session hijacking, hard‑coded credentials, insufficient input validation, outdated versions, and low code quality—and provides concrete best‑practice recommendations to avoid them.

Input ValidationPHPSecurity
0 likes · 8 min read
Common PHP Pitfalls and Effective Prevention Strategies
php Courses
php Courses
Jul 31, 2024 · Backend Development

How to Build a Custom PHP 404 Error Page for WordPress

This guide explains how to design, code, and configure a custom PHP‑based 404 error page for WordPress, covering user‑friendly messaging, navigation links, search integration, dynamic content suggestions, and ongoing monitoring to improve user experience and SEO performance.

404 pagePHPSEO
0 likes · 6 min read
How to Build a Custom PHP 404 Error Page for WordPress
php Courses
php Courses
Jul 30, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closure functions can be used to encapsulate reusable code blocks, demonstrates practical examples including simple arithmetic, data processing callbacks, and integration with object‑oriented programming to improve code reuse and maintainability.

PHPbackend
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
Open Source Tech Hub
Open Source Tech Hub
Jul 27, 2024 · Backend Development

Master Elasticsearch with PHP: From Basics to Real‑World Search Implementation

This guide explains why e‑commerce platforms need a high‑performance search engine, introduces Elasticsearch fundamentals, compares it with traditional engines, and provides step‑by‑step PHP code for installing, configuring, indexing, and querying data, complete with practical examples and best‑practice tips.

ElasticsearchFull-text SearchPHP
0 likes · 9 min read
Master Elasticsearch with PHP: From Basics to Real‑World Search Implementation
php Courses
php Courses
Jul 26, 2024 · Artificial Intelligence

Real-Time Image Processing with PHP and OpenCV

This tutorial explains how PHP developers can install OpenCV and the php-opencv extension, write code to capture webcam video, display live frames in a browser, and perform real-time face detection using computer‑vision techniques.

PHPcomputer visionimage-processing
0 likes · 6 min read
Real-Time Image Processing with PHP and OpenCV
Open Source Tech Hub
Open Source Tech Hub
Jul 25, 2024 · Information Security

Secure PHP Password Storage: From MD5+Salt to Bcrypt and Argon2

This guide explains why MD5 with salt is insecure, introduces stronger hashing algorithms like bcrypt and Argon2, and provides practical PHP examples using password_hash and password_verify to safely store and verify user passwords with built‑in salts and configurable cost factors.

PHPargon2bcrypt
0 likes · 8 min read
Secure PHP Password Storage: From MD5+Salt to Bcrypt and Argon2
php Courses
php Courses
Jul 23, 2024 · Backend Development

Using PHP in_array() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP in_array() function, detailing its syntax, parameters, and three practical examples that demonstrate value searching, strict type checking, and retrieving keys, helping developers improve array handling efficiency and code readability.

ArrayPHPbackend
0 likes · 4 min read
Using PHP in_array() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Jul 23, 2024 · Backend Development

Why Build a Custom PHP Framework and Course Outline

This article explains the benefits of creating a custom PHP framework—such as meeting specific needs, learning core concepts, ensuring maintainability, optimizing performance, improving usability, and enhancing security—and provides a detailed chapter and section outline for a tutorial covering MVC, routing, design patterns, configuration, and database handling.

MVCPHPbackend
0 likes · 3 min read
Why Build a Custom PHP Framework and Course Outline
php Courses
php Courses
Jul 22, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to perform MySQL operations such as SELECT, INSERT, UPDATE, and DELETE, including a full example that creates a connection, runs a query, processes results, and closes the connection.

DatabaseMySQLiPHP
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
php Courses
php Courses
Jul 22, 2024 · Backend Development

Using PHP's str_replace Function for String Replacement and Deletion

This article explains how PHP's str_replace function works, shows its syntax, and provides three practical examples—simple replacement, multiple replacements using an array, and character deletion—demonstrating how to manipulate strings efficiently in backend development.

PHPbackendstr_replace
0 likes · 3 min read
Using PHP's str_replace Function for String Replacement and Deletion
php Courses
php Courses
Jul 22, 2024 · Backend Development

Using PHP to Capture Webcam Video and Apply Real-Time Image Effects

This tutorial explains how to set up a PHP environment, use OpenCV and GD libraries to capture webcam video, apply various real-time image effects such as grayscale, blur, and edge detection, and switch effects via keyboard input, providing complete code examples.

PHPgd-libraryimage-processing
0 likes · 5 min read
Using PHP to Capture Webcam Video and Apply Real-Time Image Effects
Architecture Development Notes
Architecture Development Notes
Jul 21, 2024 · Backend Development

Rust vs PHP: Which Language Wins for Your Next Project?

This article compares the emerging system language Rust with the veteran web language PHP, examining their core features, performance, safety, learning curves, ecosystems, and deployment considerations to help developers choose the right tool for their specific project needs.

Language comparisonPHPRust
0 likes · 14 min read
Rust vs PHP: Which Language Wins for Your Next Project?
21CTO
21CTO
Jul 20, 2024 · Backend Development

Explore a PHP‑Based ‘Operating System’: Installation Guide & Demo

A Japanese PHP developer released an open‑source project that simulates a simple operating system in PHP, currently limited to printing "Hello World!", and provides step‑by‑step instructions for installing the required PHP version and running the demo on macOS.

InstallationPHPbackend development
0 likes · 2 min read
Explore a PHP‑Based ‘Operating System’: Installation Guide & Demo
php Courses
php Courses
Jul 19, 2024 · Backend Development

10 Innovative PHP Project Ideas to Elevate Your Portfolio

This article presents ten carefully crafted PHP project concepts—from building a custom MVC framework and implementing data import/export to creating QR code generators and event management tools—each designed to showcase backend expertise and enhance a developer's professional portfolio.

MVCPHPbackend
0 likes · 7 min read
10 Innovative PHP Project Ideas to Elevate Your Portfolio
php Courses
php Courses
Jul 18, 2024 · Backend Development

Using PHP is_bool() to Check Whether a Variable Is Boolean

This article explains how to use PHP's built-in is_bool() function to determine whether a variable holds a boolean value, provides clear code examples with four different variables, shows the expected output, and discusses why certain values are not considered booleans.

PHPType Checkingbackend
0 likes · 4 min read
Using PHP is_bool() to Check Whether a Variable Is Boolean
php Courses
php Courses
Jul 18, 2024 · Backend Development

Adjust Image Hue Using PHP Imagick

This guide explains how to install the Imagick extension for PHP, create an Imagick object, load an image, adjust its brightness, saturation, and hue using modulateImage, and then save or output the modified image, providing a complete example code snippet.

Hue AdjustmentPHPbackend
0 likes · 3 min read
Adjust Image Hue Using PHP Imagick
php Courses
php Courses
Jul 18, 2024 · Backend Development

Using PHP is_string() to Check if a Variable Is a String

This article explains the PHP is_string() function, its simple syntax, and demonstrates with example code how to check variables like $name, $age, and $city to determine whether they are strings, including best practices for input validation.

PHPbackendis_string
0 likes · 4 min read
Using PHP is_string() to Check if a Variable Is a String
php Courses
php Courses
Jul 17, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains PHP's fgetc() function for reading single characters from files or user input, demonstrates opening files with fopen(), shows loop-based character reading, and provides complete code examples for both file and interactive input scenarios.

PHPbackendfgetc
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Jul 11, 2024 · Backend Development

Using PHP's urldecode() Function: Concepts, Syntax, and Examples

This article explains PHP's urldecode() function, covering URL encoding basics, the function's prototype, usage examples with code demonstrating encoding with urlencode() and decoding back to the original string, and notes on limitations and the alternative rawurldecode() for non‑ASCII characters.

PHPbackendphp-functions
0 likes · 3 min read
Using PHP's urldecode() Function: Concepts, Syntax, and Examples
php Courses
php Courses
Jul 9, 2024 · Backend Development

Top Text Editors and IDEs for PHP Development: Features and Benefits

This article reviews six popular text editors and IDEs for PHP development—Visual Studio Code, PHPStorm, Sublime Text, Atom, Notepad++, and NetBeans—highlighting their key features, advantages, and why developers might choose each to boost coding efficiency and workflow.

AtomNetBeansNotepad
0 likes · 9 min read
Top Text Editors and IDEs for PHP Development: Features and Benefits
php Courses
php Courses
Jul 8, 2024 · Backend Development

Using PHP's array_walk() Function: Syntax, Examples, and Advanced Usage

This article explains PHP's powerful array_walk() function, detailing its syntax, parameter roles, basic and advanced examples—including squaring numbers, summing values with userdata, and invoking class methods—while highlighting practical use‑cases for backend development.

Code ExamplePHParray_walk
0 likes · 5 min read
Using PHP's array_walk() Function: Syntax, Examples, and Advanced Usage
php Courses
php Courses
Jul 8, 2024 · Backend Development

Using Composer with ServBay: Dependency Management and Autoloading for PHP Projects

ServBay integrates the popular PHP Composer tool, enabling developers to efficiently manage project dependencies, perform precise version control, and leverage automatic class loading, with step‑by‑step guidance, code examples, and tips for using Composer within the ServBay environment.

Dependency ManagementPHPautoload
0 likes · 7 min read
Using Composer with ServBay: Dependency Management and Autoloading for PHP Projects
php Courses
php Courses
Jul 8, 2024 · Frontend Development

Implementing Camera Access with PHP and the HTML5 Media Capture API

This tutorial explains how to use the browser's Media Capture API together with PHP to capture photos from a user's camera, upload them to the server, and display the saved images, providing a practical example and step‑by‑step code.

Camera APIHTML5Media Capture
0 likes · 5 min read
Implementing Camera Access with PHP and the HTML5 Media Capture API
Open Source Tech Hub
Open Source Tech Hub
Jul 5, 2024 · Backend Development

What’s New in Swoole v6.0? Multithreading, Coroutines, and Async I/O for PHP

Swoole v6.0 introduces multithreaded coroutine support, async file I/O via io_uring, new thread‑related classes, upgraded Boost Context, numerous bug fixes and kernel optimizations, expanding PHP’s capabilities beyond traditional web workloads to high‑performance networking, game servers, and micro‑services.

PHPmultithreadingnetwork programming
0 likes · 7 min read
What’s New in Swoole v6.0? Multithreading, Coroutines, and Async I/O for PHP
php Courses
php Courses
Jul 5, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closure functions can be used to encapsulate reusable code blocks, demonstrates practical examples including simple arithmetic, data processing with callbacks, and integration with object‑oriented programming to improve code maintainability and flexibility.

OOPPHPclosure
0 likes · 4 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
php Courses
php Courses
Jul 4, 2024 · Backend Development

Using PHP’s is_numeric() Function to Check Numeric Values

This article explains PHP’s is_numeric() function, detailing how it determines whether a variable is numeric, providing example code for direct checks, form input validation, and discussing edge cases such as trailing decimal points, making it a useful guide for beginner backend developers.

PHPbackendis_numeric
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Jul 4, 2024 · Information Security

Overview of Common PHP Encryption Algorithms

This article introduces several widely used PHP encryption algorithms—including MD5, SHA family, AES, RSA, and Base64 encoding—explaining their functions, security considerations, and PHP functions for implementation, while also mentioning additional algorithms like DES, RC4, and Blowfish for specific use cases.

AESEncryptionHashing
0 likes · 3 min read
Overview of Common PHP Encryption Algorithms
php Courses
php Courses
Jul 4, 2024 · Backend Development

Why Build a Custom PHP Framework and What It Can Achieve

This article explains the motivations for creating a custom PHP framework—such as meeting specific project needs, deepening technical understanding, ensuring long‑term maintainability, optimizing performance, improving usability, and enhancing security—while outlining the curriculum of the accompanying tutorial series.

MVCPHPPerformance
0 likes · 4 min read
Why Build a Custom PHP Framework and What It Can Achieve
php Courses
php Courses
Jul 4, 2024 · Backend Development

The Decline of Skilled PHP Developers: Causes and Solutions

Amid the rapidly evolving web development landscape, the scarcity of proficient PHP developers stems from fading foundational knowledge, migration to newer languages, and lingering misconceptions, prompting a need for reinforced education, community advocacy, mentorship, and industry collaboration to revitalize PHP expertise and sustain its role in modern web development.

Developer ShortagePHPWeb Development
0 likes · 6 min read
The Decline of Skilled PHP Developers: Causes and Solutions
php Courses
php Courses
Jul 3, 2024 · Backend Development

Using PHP urlencode to Encode Special and Non-ASCII Characters in URLs

This article explains how PHP's urlencode function converts special and non‑ASCII characters into URL‑safe representations, provides example code for English and Chinese strings, and discusses practical usage, space handling, and the alternative rawurlencode function for precise encoding.

PHPURL encodingurlencode
0 likes · 5 min read
Using PHP urlencode to Encode Special and Non-ASCII Characters in URLs
php Courses
php Courses
Jul 3, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

PHP's rawurldecode() function decodes URL-encoded strings back to their original form, works alongside urlencode(), and is demonstrated with syntax, example code, output, and notes on its behavior versus urldecode(), providing a concise guide for web developers handling URL parameters.

PHPURL decodingbackend
0 likes · 3 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
php Courses
php Courses
Jul 2, 2024 · Backend Development

Using PHP trim() to Remove Whitespace and Specific Characters from Strings

This article explains PHP's trim() function, its syntax, parameters, default behavior, and demonstrates how to remove whitespace or specific characters from strings using practical code examples; it also covers optional character mask usage and highlights important considerations when trimming strings in PHP development.

CodingPHPString Manipulation
0 likes · 3 min read
Using PHP trim() to Remove Whitespace and Specific Characters from Strings
Open Source Tech Hub
Open Source Tech Hub
Jul 2, 2024 · Backend Development

How to Build RPC Services with ThinkPHP Swoole: Step-by-Step Guide

This guide explains how to set up remote procedure calls in a ThinkPHP application using the Swoole extension, covering extension installation, Composer dependencies, server and client configuration, interface definition, hot‑reload handling, and common pitfalls such as Xdebug conflicts.

PHPRPCbackend
0 likes · 6 min read
How to Build RPC Services with ThinkPHP Swoole: Step-by-Step Guide
php Courses
php Courses
Jul 1, 2024 · Backend Development

Implement Real-Time Search and Automatic Index Updating with PHP and Xunsearch

This article demonstrates how to set up Xunsearch, a C++-based full-text search engine, and integrate it with PHP to achieve real-time search capabilities and automatically update the index, covering environment preparation, installation, sample code for searching, and index maintenance.

Full-text SearchIndexingPHP
0 likes · 4 min read
Implement Real-Time Search and Automatic Index Updating with PHP and Xunsearch
Open Source Tech Hub
Open Source Tech Hub
Jun 30, 2024 · Databases

How to Use Medoo – A Lightweight PHP Database Framework Tutorial

This guide introduces Medoo, a lightweight PHP database framework built on PDO, outlines its key features, shows installation via Composer, demonstrates basic CRUD operations, and explains integration with the Webman framework, including multi‑database configuration and usage examples.

CRUDMedooPDO
0 likes · 4 min read
How to Use Medoo – A Lightweight PHP Database Framework Tutorial
php Courses
php Courses
Jun 28, 2024 · Backend Development

Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Store

This article explains how to implement product purchase quantity limits in a PHP‑based online store, covering database schema changes, modifications to product detail, cart, and checkout pages, Ajax‑driven updates, inventory checks, and order management to prevent overselling and improve user experience.

AJAXE‑commerceInventory
0 likes · 4 min read
Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Store
php Courses
php Courses
Jun 28, 2024 · Backend Development

How to Create Custom WordPress Shortcodes in Three Simple Steps

This guide walks you through creating a custom WordPress shortcode by installing the Code Snippets plugin, writing a PHP function to display the current date, registering the shortcode, and inserting it into a page, providing clear step‑by‑step instructions and example code.

PHPPluginWordPress
0 likes · 7 min read
How to Create Custom WordPress Shortcodes in Three Simple Steps
php Courses
php Courses
Jun 28, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Merge Arrays Recursively

This article explains the PHP array_replace_recursive() function, its syntax, recursive merging behavior, example usage with code snippets, output interpretation, important considerations, and a comparison with array_merge_recursive() for effective backend array handling.

PHPRecursionarray merging
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Merge Arrays Recursively
php Courses
php Courses
Jun 27, 2024 · Backend Development

Observer Design Pattern in Laravel: Concepts and Implementation

This article explains the Observer design pattern, its role in reducing coupling, and demonstrates how to implement it in Laravel using Eloquent model events, including creating observers, registering them, and practical use cases such as activity logging, email notifications, and slug generation.

Design PatternsEloquentObserver Pattern
0 likes · 12 min read
Observer Design Pattern in Laravel: Concepts and Implementation
php Courses
php Courses
Jun 27, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains the PHP fgetc() function for reading a single character from an opened file or user input, demonstrates how to open files with fopen(), shows syntax and practical examples using loops and switch statements, and provides guidance for proper usage.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Jun 27, 2024 · Information Security

How to Build an OAuth2 Authorization Code Server in PHP

This tutorial explains step‑by‑step how to set up a secure OAuth2 authorization‑code server in PHP, covering the OAuth flow, library installation, server code, database schema, and testing with curl.

APIAuthorization CodeOAuth2
0 likes · 6 min read
How to Build an OAuth2 Authorization Code Server in PHP
php Courses
php Courses
Jun 27, 2024 · Backend Development

Using PHP’s is_numeric() Function to Determine Numeric Values

This article explains PHP’s is_numeric() function, detailing its purpose, usage, return values, and edge cases, and provides multiple code examples—including variable checks and form input validation—to help developers reliably determine whether a variable or user input is numeric.

PHPbackendcode examples
0 likes · 3 min read
Using PHP’s is_numeric() Function to Determine Numeric Values
php Courses
php Courses
Jun 26, 2024 · Backend Development

Using PHP's array_replace_recursive() to Recursively Merge Arrays

This article explains the PHP function array_replace_recursive(), showing its syntax, behavior, and examples of how it recursively merges multiple arrays while handling key conflicts and offering guidance on when to use it versus array_merge_recursive().

ArraysPHParray_replace_recursive
0 likes · 4 min read
Using PHP's array_replace_recursive() to Recursively Merge Arrays
Go Development Architecture Practice
Go Development Architecture Practice
Jun 25, 2024 · Backend Development

Common Go Pitfalls Every PHP Developer Should Avoid

A former PHP developer shares six typical Go programming mistakes—incorrect function syntax, map initialization, JSON struct export, slice mutation in loops, array versus slice semantics, and variable shadowing—along with corrected examples and explanations to help newcomers write idiomatic Go code.

PHPbackendbeginners
0 likes · 6 min read
Common Go Pitfalls Every PHP Developer Should Avoid
php Courses
php Courses
Jun 25, 2024 · Backend Development

Using PHP fread() to Read Files: Syntax, Parameters, and Example

This article explains PHP’s fread() function, covering its syntax, parameters, return values, and provides a complete example demonstrating how to open a file, read its contents, handle errors, and close the file, along with notes on optional offset usage.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP fread() to Read Files: Syntax, Parameters, and Example
Open Source Tech Hub
Open Source Tech Hub
Jun 23, 2024 · Backend Development

Why PHP Climbed to #15 in TIOBE’s June Rankings: Resilience and Future Outlook

The article examines PHP’s rise to the 15th spot in the TIOBE June index, analyzing its deep web roots, mature frameworks, performance gains, vibrant community, and integration with modern technologies like Docker and front‑end frameworks, while also discussing future challenges such as scalability, type safety, and cloud‑native adoption.

CommunityDockerPHP
0 likes · 8 min read
Why PHP Climbed to #15 in TIOBE’s June Rankings: Resilience and Future Outlook
21CTO
21CTO
Jun 22, 2024 · Backend Development

How to Build a Secure Laravel 11 API with Sanctum – Step‑by‑Step Guide

This tutorial walks you through installing Laravel 11, adding Sanctum for API authentication, creating migrations, models, resources, controllers, and routes, and finally testing the API with Postman, providing complete code snippets and configuration details for a functional backend.

APIAuthenticationPHP
0 likes · 11 min read
How to Build a Secure Laravel 11 API with Sanctum – Step‑by‑Step Guide
php Courses
php Courses
Jun 21, 2024 · Backend Development

Implementing CoID Protocol for Enterprise Internal Communication Using PHP

This article explains the CoID (Corporation Internal Communication) protocol and provides step‑by‑step PHP code examples for building a TCP socket server and client that exchange JSON‑encoded messages, demonstrating how to achieve reliable, secure internal communication within an enterprise.

CoID ProtocolPHPbackend development
0 likes · 4 min read
Implementing CoID Protocol for Enterprise Internal Communication Using PHP
php Courses
php Courses
Jun 21, 2024 · Backend Development

Overview of PHP 8 Features and Expected PHP 9 Enhancements

This article examines PHP 8’s major features such as JIT compilation, union types, attributes, match expressions, constructor property promotion, and null‑safe operator, then outlines anticipated PHP 9 improvements including enhanced JIT, native async/await, richer type system, standardized error handling, and stronger security.

JITPHPSecurity
0 likes · 11 min read
Overview of PHP 8 Features and Expected PHP 9 Enhancements
php Courses
php Courses
Jun 20, 2024 · Backend Development

Using PHP ltrim() to Remove Leading Whitespace and Characters

This article explains PHP's ltrim function, its syntax, optional character mask, and provides code examples showing how to strip leading whitespace or specific characters from strings, along with notes on behavior and related functions.

PHPString Manipulationbackend
0 likes · 4 min read
Using PHP ltrim() to Remove Leading Whitespace and Characters
php Courses
php Courses
Jun 20, 2024 · Backend Development

Using PHP filetype() Function to Determine File Types

This article explains the PHP filetype() function, its prototype, parameters, return values, and provides two practical code examples—one for retrieving a single file's type and another for listing the types of all files in a directory—helping developers handle files efficiently.

Code ExampleFile HandlingPHP
0 likes · 3 min read
Using PHP filetype() Function to Determine File Types