Tagged articles
3002 articles
Page 24 of 31
php Courses
php Courses
Apr 22, 2021 · Backend Development

How to Use PHP's array_keys() Function to Retrieve Array Keys

This article explains PHP's array_keys() function, detailing its syntax, parameters, return values, and demonstrating three practical examples that show how to retrieve array keys with optional search values and strict comparison.

BackendPHPTutorial
0 likes · 3 min read
How to Use PHP's array_keys() Function to Retrieve Array Keys
Laravel Tech Community
Laravel Tech Community
Apr 20, 2021 · Backend Development

PHP zip_open() – Open a ZIP Archive File

The article explains PHP's zip_open() function, showing its syntax, describing how it opens a ZIP archive for reading, detailing the required filename parameter, and outlining the return values including a resource handle on success or an error code on failure.

PHPfile-handlingzip_open
0 likes · 1 min read
PHP zip_open() – Open a ZIP Archive File
php Courses
php Courses
Apr 19, 2021 · Backend Development

Reading Files in PHP: fread vs file_get_contents

This article explains how to read files in PHP using the two functions fread and file_get_contents, compares their syntax, parameters, return values, and shows practical code examples illustrating their differences and when to use each method.

BackendPHPfile-handling
0 likes · 3 min read
Reading Files in PHP: fread vs file_get_contents
Laravel Tech Community
Laravel Tech Community
Apr 18, 2021 · Backend Development

readline_clear_history() – Clear Command Line History in PHP

The PHP function readline_clear_history() removes the entire command line history, returning TRUE on success and FALSE on failure, providing a simple way to clear stored input lines during interactive sessions and can be used in scripts that require privacy of entered commands.

PHPcommand-linehistory
0 likes · 1 min read
readline_clear_history() – Clear Command Line History in PHP
Laravel Tech Community
Laravel Tech Community
Apr 11, 2021 · Backend Development

How to Use PHP’s readline_write_history to Save Command History

This guide explains the PHP function readline_write_history, showing how it writes command-line history to a file, detailing the required filename parameter and the boolean return values indicating success or failure, enabling developers to persist interactive shell sessions programmatically.

BackendPHPcommand history
0 likes · 1 min read
How to Use PHP’s readline_write_history to Save Command History
Laravel Tech Community
Laravel Tech Community
Apr 10, 2021 · Backend Development

readline_redisplay(): Redraw Display Area

readline_redisplay() is a PHP function that forces the readline interface to redraw the display area, takes no arguments, provides no return value, and is part of the readline extension used to refresh the user’s input line after external changes.

DisplayPHPreadline
0 likes · 1 min read
readline_redisplay(): Redraw Display Area
php Courses
php Courses
Apr 8, 2021 · Backend Development

Key PHP Interview Topics: HTTP Status Codes, Pass‑by‑Value/Reference, Design Patterns, XSS, CGI/FastCGI/PHP‑FPM, MVC, Garbage Collection, CLI Lifecycle, Memory Management, Arrays, Dependency Injection, OOP

This article summarizes essential PHP interview knowledge, covering HTTP status codes, value vs. reference passing, major design patterns, XSS mitigation, the CGI/FastCGI/PHP‑FPM architecture, MVC, garbage collection, CLI lifecycle, memory allocation, array implementation, dependency injection, and core object‑oriented principles.

BackendPHParchitecture
0 likes · 10 min read
Key PHP Interview Topics: HTTP Status Codes, Pass‑by‑Value/Reference, Design Patterns, XSS, CGI/FastCGI/PHP‑FPM, MVC, Garbage Collection, CLI Lifecycle, Memory Management, Arrays, Dependency Injection, OOP
php Courses
php Courses
Apr 8, 2021 · Backend Development

Using ThinkPHP6 Collection Methods to Process Database Query Results

The article explains how ThinkPHP6 returns query results as a Collection object, introduces its useful methods such as toArray and isEmpty, and provides a PHP code example demonstrating how to check for empty results and convert the collection to an array.

BackendCollectionPHP
0 likes · 2 min read
Using ThinkPHP6 Collection Methods to Process Database Query Results
php Courses
php Courses
Apr 2, 2021 · Backend Development

Implementing Ping Using ICMP Raw Sockets in PHP

This tutorial explains how to use PHP's raw socket functions to construct and send an ICMP echo request packet, calculate its checksum, receive the reply, and wrap the logic into a reusable ping($host, $retry) function for backend network diagnostics.

BackendICMPNetwork programming
0 likes · 6 min read
Implementing Ping Using ICMP Raw Sockets in PHP
php Courses
php Courses
Mar 30, 2021 · Backend Development

Using PHP array_diff_assoc() to Compare Arrays and Find Differences

This article explains the PHP function array_diff_assoc(), its syntax, parameters, and provides code examples demonstrating how to compare arrays by keys and values to obtain the difference, along with a practical use case for detecting changes in form data during web development.

BackendPHPTutorial
0 likes · 2 min read
Using PHP array_diff_assoc() to Compare Arrays and Find Differences
Laravel Tech Community
Laravel Tech Community
Mar 29, 2021 · Backend Development

zip_entry_name – Retrieve the Name of a ZIP Archive Entry (PHP)

This article explains the PHP function zip_entry_name, which returns the name of a directory entry within a ZIP archive, details its parameter $zip_entry, describes the return value, and provides a complete example demonstrating how to open a ZIP file, iterate entries, output their names, and close the archive.

BackendPHPzip_entry_name
0 likes · 1 min read
zip_entry_name – Retrieve the Name of a ZIP Archive Entry (PHP)
Laravel Tech Community
Laravel Tech Community
Mar 27, 2021 · Backend Development

PHP zip_entry_open: Opening a ZIP Directory Entry for Reading

This article explains the PHP function zip_entry_open, which opens a directory entry inside a ZIP archive for reading, details its parameters and return values, and provides a complete example demonstrating how to iterate through entries and display their names.

BackendPHPzip_entry_open
0 likes · 2 min read
PHP zip_entry_open: Opening a ZIP Directory Entry for Reading
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Mar 26, 2021 · Fundamentals

Design Patterns and SOLID Principles for Building a Message Sending Service

This article explains how to apply classic design patterns and the six SOLID principles—Liskov Substitution, Single Responsibility, Dependency Inversion, Interface Segregation, Law of Demeter, and Open‑Closed—to design a maintainable, extensible message‑sending system with task scheduling and dynamic provider configuration.

BackendDesign PatternsPHP
0 likes · 17 min read
Design Patterns and SOLID Principles for Building a Message Sending Service
Laravel Tech Community
Laravel Tech Community
Mar 24, 2021 · Backend Development

How to Open and Read ZIP Archives in PHP with zip_open

This guide explains the PHP zip_open() function, detailing its purpose, required filename parameter, return values, and provides a clear code example showing how to open a ZIP file, read its entries, and close the archive safely.

BackendPHPfile-handling
0 likes · 1 min read
How to Open and Read ZIP Archives in PHP with zip_open
php Courses
php Courses
Mar 24, 2021 · Backend Development

Comprehensive Guide to PHP Array Functions

This tutorial presents a thorough overview of PHP array functions, explaining key‑value operations, creation and splitting utilities, sorting techniques, and set operations such as differences and intersections, while providing clear code examples for each function.

BackendPHPTutorial
0 likes · 10 min read
Comprehensive Guide to PHP Array Functions
php Courses
php Courses
Mar 23, 2021 · Backend Development

Removing Empty Elements from a PHP Array Using foreach and array_filter

This article explains two PHP techniques for removing empty or falsy elements from an array: a straightforward foreach loop that unsets unwanted values and the more efficient array_filter() function with optional callbacks and flags, including code examples and the resulting output.

BackendPHPTutorial
0 likes · 3 min read
Removing Empty Elements from a PHP Array Using foreach and array_filter
php Courses
php Courses
Mar 19, 2021 · Backend Development

Understanding PDOStatement::fetch() Fetch Styles in PHP

This article explains the PDOStatement::fetch() method in PHP, detailing the available fetch style constants, their effects on result set formatting, and shows how to configure the statement to return only associative arrays for cleaner data handling.

BackendFetchModePDO
0 likes · 3 min read
Understanding PDOStatement::fetch() Fetch Styles in PHP
php Courses
php Courses
Mar 12, 2021 · Backend Development

Using Multiple where Clauses in Laravel for Multi-Field Search

This article demonstrates how to perform multi‑field searches in Laravel by chaining multiple where clauses with closure callbacks, showing example code that conditionally filters by username and hospital ID based on request parameters.

BackendLaravelMultiple Where
0 likes · 2 min read
Using Multiple where Clauses in Laravel for Multi-Field Search
Laravel Tech Community
Laravel Tech Community
Mar 10, 2021 · Backend Development

PHP readdir() Function: Reading Directory Entries

The PHP readdir() function reads the next entry from an opened directory handle, returning the filename in filesystem order, with details on its parameters, return values, and example code demonstrating correct and incorrect directory traversal techniques.

FilesystemPHPdirectory
0 likes · 2 min read
PHP readdir() Function: Reading Directory Entries
Laravel Tech Community
Laravel Tech Community
Mar 9, 2021 · Backend Development

PHP opendir() Function – Opening a Directory Handle

This article explains PHP's opendir() function, detailing its purpose of opening a directory handle, the required path and optional context parameters, the return values, and provides a complete code example that reads and displays filenames and their types within a specified directory.

FilesystemPHPdirectory
0 likes · 2 min read
PHP opendir() Function – Opening a Directory Handle
php Courses
php Courses
Mar 9, 2021 · Backend Development

Understanding Method and Property Overriding in PHP Classes

The article explains PHP class inheritance, detailing how public and protected properties and methods can be overridden in child classes while private members remain unaffected, and demonstrates correct overriding practices, parameter matching, and using the parent keyword with clear code examples.

BackendMethod OverridingPHP
0 likes · 6 min read
Understanding Method and Property Overriding in PHP Classes
php Courses
php Courses
Mar 9, 2021 · Backend Development

How to Install and Configure Laravel IDE Helper with Composer

This guide explains how to install the Barryvdh Laravel IDE Helper package via Composer, add its service provider, configure post‑update scripts, publish configuration files, and generate helper documentation, enabling improved IDE autocompletion for Laravel projects.

AutocompletionBackendComposer
0 likes · 2 min read
How to Install and Configure Laravel IDE Helper with Composer
Laravel Tech Community
Laravel Tech Community
Mar 8, 2021 · Backend Development

PHP getcwd() – Retrieve Current Working Directory

This article explains the PHP getcwd() function, which retrieves the current working directory, details its return values, provides a sample script demonstrating its usage with chdir(), and shows the expected output paths.

FilesystemPHPdirectory
0 likes · 1 min read
PHP getcwd() – Retrieve Current Working Directory
php Courses
php Courses
Mar 8, 2021 · Backend Development

Understanding PHP Traits: Definition, Syntax, and Usage

This article explains PHP traits—a code‑reuse mechanism for single‑inheritance languages—covering their definition, basic syntax, how to use them with the use keyword, resolving property and method conflicts, visibility adjustments, and abstract method support, all illustrated with clear examples.

PHPTraitscode-reuse
0 likes · 7 min read
Understanding PHP Traits: Definition, Syntax, and Usage
System Architect Go
System Architect Go
Mar 8, 2021 · Information Security

Insecure Deserialization

This article explains what insecure deserialization is, why it leads to high‑severity attacks, demonstrates typical PHP, Ruby, and Java examples, and provides practical techniques for identifying, exploiting, and mitigating unsafe deserialization vulnerabilities.

DeserializationExploitPHP
0 likes · 27 min read
Insecure Deserialization
Laravel Tech Community
Laravel Tech Community
Mar 7, 2021 · Backend Development

PHP dir() Function Returns a Directory Class Instance

The PHP dir() function opens a directory and returns a Directory class instance, accepting a directory path and an optional context resource, with detailed parameter descriptions, return values, and a complete example demonstrating how to read entries and close the handle.

BackendPHPfile system
0 likes · 2 min read
PHP dir() Function Returns a Directory Class Instance
Laravel Tech Community
Laravel Tech Community
Mar 5, 2021 · Backend Development

Laravel‑KindEditor: Installation, Configuration, and Usage Guide

This article provides a step‑by‑step tutorial for installing the Laravel‑KindEditor package, configuring storage drivers, adding the service provider, publishing assets, setting up the editor in Blade templates, and handling image upload responses with example code snippets for developers.

BackendHTML editorInstallation
0 likes · 4 min read
Laravel‑KindEditor: Installation, Configuration, and Usage Guide
php Courses
php Courses
Mar 5, 2021 · Backend Development

Integrating Whoops Error Handler into ThinkPHP6

This tutorial explains how to install the Whoops library via Composer and configure ThinkPHP6’s ExceptionHandle to replace the default error page with Whoops’ detailed, user‑friendly exception view, including code examples and a final verification.

BackendError HandlingException
0 likes · 3 min read
Integrating Whoops Error Handler into ThinkPHP6
Laravel Tech Community
Laravel Tech Community
Mar 1, 2021 · Backend Development

PHP srand() – Seeding the Random Number Generator

This article explains PHP's srand() function, detailing its purpose of seeding the random number generator, optional seed parameter, lack of return value, and provides a complete example showing how to generate a seed from microtime and produce random numbers.

PHPrandomseed
0 likes · 1 min read
PHP srand() – Seeding the Random Number Generator
php Courses
php Courses
Mar 1, 2021 · Backend Development

Creating and Using a Local Composer Package in PHP

This tutorial demonstrates how to set up a local Composer package in PHP by creating project directories, configuring composer.json files for autoload and repositories, requiring the package, and testing it with a sample index.php, illustrated with command snippets and screenshots.

ComposerPHPdependency management
0 likes · 3 min read
Creating and Using a Local Composer Package in PHP
php Courses
php Courses
Mar 1, 2021 · Backend Development

ThinkPHP Framework Execution Process Overview

This article outlines the ThinkPHP framework’s execution flow, detailing the sequence from index.php entry through configuration loading, application generation, class loading, controller action execution, and template rendering, and highlights key classes such as Think\Hook and Think\Behavior.

BackendFrameworkHook
0 likes · 2 min read
ThinkPHP Framework Execution Process Overview
php Courses
php Courses
Mar 1, 2021 · Backend Development

Implementing API Rate Limiting with Redis in PHP

This article explains how to implement API request frequency control in PHP using Redis, detailing a function that tracks per‑user request counts within a configurable time window, removes outdated entries, and returns appropriate responses when the limit is exceeded.

APIBackendPHP
0 likes · 3 min read
Implementing API Rate Limiting with Redis in PHP
php Courses
php Courses
Feb 28, 2021 · Backend Development

Understanding PHP's pcntl_fork(): Process Creation and Fork Behavior

This article explains PHP's pcntl_fork() function, how it creates child processes on Linux, the return values in parent and child, code examples demonstrating variable copying and process multiplication, and clarifies why a loop with three forks results in seven child processes.

LinuxPHPfork
0 likes · 3 min read
Understanding PHP's pcntl_fork(): Process Creation and Fork Behavior
Open Source Tech Hub
Open Source Tech Hub
Feb 27, 2021 · Information Security

How Casbin Simplifies Access Control with Flexible Models and Policies

Casbin is an open‑source access‑control framework that supports multiple programming languages, offers customizable request formats, role inheritance, super‑user shortcuts, and built‑in matchers, while delegating authentication and user management to other components.

AuthorizationCasbinPERM Model
0 likes · 7 min read
How Casbin Simplifies Access Control with Flexible Models and Policies
php Courses
php Courses
Feb 24, 2021 · Backend Development

Converting Arrays to Tree Structures and Back in PHP

This article demonstrates how to transform a flat array into a hierarchical tree structure and reverse the process in PHP, providing step‑by‑step code examples for building a tree using parent‑child relationships and converting the tree back into a flat list.

Array to TreeData StructurePHP
0 likes · 3 min read
Converting Arrays to Tree Structures and Back in PHP
Laravel Tech Community
Laravel Tech Community
Feb 23, 2021 · Backend Development

PHP rand() Function – Generating Random Integers

The PHP rand() function returns a pseudo‑random integer within a given range, defaulting to 0 through getrandmax() when no parameters are supplied, and includes details on its parameters, return value, and usage examples.

BackendPHPfunction
0 likes · 2 min read
PHP rand() Function – Generating Random Integers
php Courses
php Courses
Feb 22, 2021 · Backend Development

Customizing Laravel Pagination for Pseudo‑Static URLs

This guide explains how to override Laravel's built‑in pagination component to generate clean pseudo‑static URLs by creating a custom LengthAwarePaginator, rewriting its url method, and providing a staticPaginate scope for selective use.

BackendLaravelPHP
0 likes · 7 min read
Customizing Laravel Pagination for Pseudo‑Static URLs
php Courses
php Courses
Feb 22, 2021 · Backend Development

Integrating Grid++ Report Plugin into ThinkPHP5: A Step‑by‑Step Tutorial

This article walks through the complete process of integrating the Grid++ reporting plugin into a ThinkPHP5 project, covering environment setup, required JavaScript files, embedding the designer, controller implementation, and database configuration with clear code examples.

BackendPHPReporting
0 likes · 3 min read
Integrating Grid++ Report Plugin into ThinkPHP5: A Step‑by‑Step Tutorial
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Backend Development

PHP pow() Function – Exponential Expression

The PHP pow() function returns the base raised to the exponent, optionally yielding an integer, and its usage is illustrated with examples showing integer, zero, negative, and floating‑point exponent cases, including version‑specific behavior for PHP 4.0.6 and later.

BackendPHPPoW
0 likes · 2 min read
PHP pow() Function – Exponential Expression
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Backend Development

PHP pi() Function – Returns Approximate Value of π

The PHP pi() function returns the approximate value of the mathematical constant π as a float, with precision set by the php.ini precision directive (default 14), and can also be accessed via the predefined M_PI constant, illustrated with a simple code example.

BackendPHPexample
0 likes · 1 min read
PHP pi() Function – Returns Approximate Value of π
php Courses
php Courses
Feb 20, 2021 · Backend Development

Common ThinkPHP Single‑Letter Methods Overview

This article lists the common single‑letter shortcut methods in ThinkPHP, such as A for quickly instantiating the Action library, B for executing actions, C for configuring parameters, and others, providing brief English descriptions for each shortcut.

BackendFrameworkPHP
0 likes · 2 min read
Common ThinkPHP Single‑Letter Methods Overview
php Courses
php Courses
Feb 19, 2021 · Backend Development

Resolving CORS withCredentials Issues in ThinkPHP 5.1

This guide explains how to resolve CORS withCredentials errors in ThinkPHP 5.1 by configuring Axios on the frontend, setting appropriate Access‑Control headers on the backend, creating a CrossDomain middleware, and handling preflight OPTIONS requests for methods like DELETE and PUT.

BackendCORSPHP
0 likes · 6 min read
Resolving CORS withCredentials Issues in ThinkPHP 5.1
php Courses
php Courses
Feb 19, 2021 · Backend Development

Installing and Using Custom Chinese Validation Messages in Laravel

This guide explains how to install the Laravel validation package, create a Chinese language file for validation messages, wrap the validator in a custom handler class, and demonstrate direct validation, custom messages, attribute names, and error printing with practical code examples.

BackendLaravelPHP
0 likes · 6 min read
Installing and Using Custom Chinese Validation Messages in Laravel
php Courses
php Courses
Feb 18, 2021 · Backend Development

Laravel Routing Basics and Advanced Usage

This article explains Laravel's routing system, covering the default route file, basic GET routes, common HTTP methods, parameter constraints, multiple parameters, and how to bind routes to controller actions with practical code examples.

BackendLaravelPHP
0 likes · 5 min read
Laravel Routing Basics and Advanced Usage
Laravel Tech Community
Laravel Tech Community
Feb 17, 2021 · Backend Development

mt_rand() – Generating Better Random Numbers in PHP

The article explains PHP's mt_rand() function, which provides a faster and more reliable random number generator than the older rand(), details its optional min and max parameters, return range, and includes sample code demonstrating usage and typical output.

BackendPHPmt_rand
0 likes · 2 min read
mt_rand() – Generating Better Random Numbers in PHP
php Courses
php Courses
Feb 9, 2021 · Backend Development

Creating a Custom ThinkPHP Command Line Script (hello)

This tutorial explains how to create a custom ThinkPHP command line script by adding a hello.php class in the application/command directory, configuring its name, description, and help, registering it in application/command.php, and executing it with the 'php think hello' command to output 'hello world'.

BackendPHPThinkPHP
0 likes · 2 min read
Creating a Custom ThinkPHP Command Line Script (hello)
php Courses
php Courses
Feb 8, 2021 · Backend Development

Laravel Like Comment: Installation and Usage Guide

This article introduces the Laravel‑like‑comment package, outlines its features, and provides step‑by‑step instructions—including Composer installation, service provider registration, asset publishing, database migration, CSS/JS inclusion, user model configuration, and Blade directives for adding likes and comments—to integrate a full‑featured AJAX comment system into a Laravel application.

BackendBladeComment System
0 likes · 5 min read
Laravel Like Comment: Installation and Usage Guide
php Courses
php Courses
Feb 7, 2021 · Backend Development

How to Efficiently Retrieve Random Rows from MySQL in Laravel

This guide explains three Laravel techniques—native SQL with ORDER BY RAND(), raw expressions, and the inRandomOrder method—to efficiently retrieve a random set of rows from a MySQL database for tasks such as assigning orders or sampling users.

LaravelPHPRandom Data
0 likes · 3 min read
How to Efficiently Retrieve Random Rows from MySQL in Laravel
php Courses
php Courses
Feb 7, 2021 · Information Security

Scanning Files for Viruses with ClamAV and PHP on Linux

This guide explains how to configure ClamAV on Linux, run the clamdscan command to detect malicious files, and invoke the scanner from PHP using the exec function, including sample configuration and output details.

ClamAVInformation SecurityLinux
0 likes · 2 min read
Scanning Files for Viruses with ClamAV and PHP on Linux
php Courses
php Courses
Feb 7, 2021 · Backend Development

Configuring IP Access Restrictions for Modules in ThinkPHP

This guide explains how to configure module IP access restrictions in ThinkPHP by adding 'allow_module_ip' and 'deny_module_list' entries to config.php, shows the recommended placement, and demonstrates the necessary modifications to the framework's App.php file to enforce the rules.

BackendIP restrictionPHP
0 likes · 3 min read
Configuring IP Access Restrictions for Modules in ThinkPHP
Laravel Tech Community
Laravel Tech Community
Feb 5, 2021 · Backend Development

Using PHP’s max() Function to Find the Largest Value

This article explains how PHP’s max() function works with both scalar values and arrays, describes its parameters and return value, and provides multiple code examples demonstrating how to retrieve the greatest element in various scenarios.

ArrayBackendComparison
0 likes · 3 min read
Using PHP’s max() Function to Find the Largest Value
php Courses
php Courses
Feb 5, 2021 · Backend Development

Implementing Role-Based Access Control (RBAC) with the Auth Class in ThinkPHP

This guide explains how to set up an Auth class in ThinkPHP, create the necessary database tables for groups and rules, design admin and permission tables, configure user‑group relationships, handle login sessions, and integrate the Auth class into a common controller to enforce RBAC checks.

AuthenticationAuthorizationBackend
0 likes · 4 min read
Implementing Role-Based Access Control (RBAC) with the Auth Class in ThinkPHP
php Courses
php Courses
Feb 5, 2021 · Backend Development

Essential Laravel Development Tips and Best Practices

This article presents a concise set of Laravel best‑practice recommendations—including environment configuration, avoiding core modifications, using migrations, seeding, Artisan commands, proper naming, validation requests, Carbon for dates, staying up‑to‑date, and asset compilation—to help PHP developers write clean, maintainable backend code.

ArtisanEnvLaravel
0 likes · 4 min read
Essential Laravel Development Tips and Best Practices
php Courses
php Courses
Feb 4, 2021 · Information Security

Analyzing and Decoding CAPTCHA Images Using PHP

This article explains how to extract RGB values from a CAPTCHA image with PHP, convert the pixel data into binary patterns, map those patterns to digits using a predefined dictionary, and achieve 100% recognition accuracy, illustrating a practical backend security technique.

BackendImage ProcessingOCR
0 likes · 4 min read
Analyzing and Decoding CAPTCHA Images Using PHP
Laravel Tech Community
Laravel Tech Community
Feb 3, 2021 · Backend Development

PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval

This article introduces the PHP Composer package "jxlwqq/id-validator", detailing its capabilities to validate Chinese resident ID numbers, upgrade 15‑digit IDs to 18‑digit, generate synthetic IDs, retrieve detailed personal information, and explains installation, usage examples, and the structure of the returned data.

BackendComposerPHP
0 likes · 3 min read
PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval
php Courses
php Courses
Feb 3, 2021 · Backend Development

Getting Started with Hyperf: Installation, Configuration, and Running the Swoole‑Based PHP Coroutine Framework

This guide introduces Hyperf, a high‑performance PHP coroutine framework built on Swoole, explains its CLI vs PHP‑FPM modes, lists required system extensions, shows how to configure Composer mirrors, install the skeleton, disable Swoole short names, start the server, and resolve common port‑conflict issues.

CLIDockerHyperf
0 likes · 5 min read
Getting Started with Hyperf: Installation, Configuration, and Running the Swoole‑Based PHP Coroutine Framework
php Courses
php Courses
Feb 3, 2021 · Backend Development

Handling Form Submissions in ThinkPHP: POST vs GET and Using the I Method

This article explains how to handle form submissions in ThinkPHP by distinguishing POST and GET requests, using built‑in constants to detect request types, and employing the I method for secure data retrieval, illustrated with a complete add() controller example.

Form HandlingPHPPOST
0 likes · 4 min read
Handling Form Submissions in ThinkPHP: POST vs GET and Using the I Method
php Courses
php Courses
Feb 3, 2021 · Backend Development

Practical Refactoring Tips for Cleaner PHP Code

This article presents practical refactoring techniques for PHP developers, emphasizing unit testing, bottom‑up restructuring, eliminating magic numbers, using braces, meaningful naming, and leveraging language features, illustrated with real‑world hotel management code examples and concise best‑practice tips.

PHPbest practicescode quality
0 likes · 9 min read
Practical Refactoring Tips for Cleaner PHP Code
Laravel Tech Community
Laravel Tech Community
Feb 2, 2021 · Backend Development

PHP log10() Function – Base‑10 Logarithm

The PHP log10() function returns the base‑10 logarithm of a floating‑point argument, detailing its signature, parameter description, return value, and providing example code with expected output for various inputs.

BackendPHPexample
0 likes · 1 min read
PHP log10() Function – Base‑10 Logarithm
Laravel Tech Community
Laravel Tech Community
Jan 30, 2021 · Backend Development

PHP is_infinite() Function – Determine if a Value Is Infinite

The article explains PHP’s is_infinite() function, describing its purpose of detecting infinite floating‑point values, detailing its single parameter, return values, and providing example code that demonstrates true and false outcomes, with the expected output shown.

BackendPHPfunction
0 likes · 2 min read
PHP is_infinite() Function – Determine if a Value Is Infinite
php Courses
php Courses
Jan 29, 2021 · Backend Development

Deep Dive into ThinkPHP Cache Mechanism: Setting, Retrieval, and Source Code Analysis

This article provides a comprehensive analysis of ThinkPHP’s cache system, detailing the execution flow for setting and retrieving cache, exploring the underlying source code, illustrating static method behavior, initialization, file handling, compression techniques, and practical examples with code snippets.

BackendCacheFramework
0 likes · 11 min read
Deep Dive into ThinkPHP Cache Mechanism: Setting, Retrieval, and Source Code Analysis
php Courses
php Courses
Jan 29, 2021 · Backend Development

Handling Cookies and File Uploads in Laravel

This article explains how Laravel encrypts and signs cookies to prevent tampering, shows multiple ways to set and retrieve cookie values, and provides detailed instructions and code examples for uploading, validating, and storing files using the framework's request and response utilities.

BackendLaravelPHP
0 likes · 5 min read
Handling Cookies and File Uploads in Laravel