Tagged articles

PHP

3032 articles · Page 26 of 31
php Courses
php Courses
Dec 1, 2020 · Backend Development

Using PHP FFI to Call the Cjieba Chinese Word Segmentation Library

This article demonstrates how to use PHP 7.4's FFI to directly call the Cjieba Chinese word‑segmentation library, explains common pitfalls such as uninitialized variables and pointer handling, shows code examples for compiling and running the library, and compares PHP's performance with native C.

CjiebaFFIPHP
0 likes · 6 min read
Using PHP FFI to Call the Cjieba Chinese Word Segmentation Library
Laravel Tech Community
Laravel Tech Community
Nov 27, 2020 · Backend Development

array_udiff_assoc() – Compute Array Difference with Index Check Using Callback Comparison

This article explains PHP’s array_udiff_assoc function, detailing its purpose of computing array differences with index checks using a user‑defined callback, describing its parameters and return value, and providing a complete example with class definition, custom comparison function, usage code, and resulting output.

ArrayDifferenceFunction
0 likes · 3 min read
array_udiff_assoc() – Compute Array Difference with Index Check Using Callback Comparison
php Courses
php Courses
Nov 27, 2020 · Backend Development

Upgrading PHP to 8 on macOS with Homebrew and Configuring Common Extensions

This guide walks you through updating Homebrew, upgrading PHP to version 8 on macOS, verifying the installation, restarting web servers, installing and managing PECL extensions, and handling Laravel Valet-specific steps to ensure a fully functional PHP 8 environment.

HomebrewLaravel ValetPHP
0 likes · 4 min read
Upgrading PHP to 8 on macOS with Homebrew and Configuring Common Extensions
php Courses
php Courses
Nov 24, 2020 · Backend Development

Implementing a Match‑3 (Happy Elimination) Game Algorithm in PHP

This article explains the requirements, scoring rules, and complete PHP implementation of a classic 8×8 match‑3 (Happy Elimination) game, including random color generation, detection of horizontal and vertical groups, removal, gravity handling, and recursive scoring until no more matches remain.

Game AlgorithmPHPScoring
0 likes · 11 min read
Implementing a Match‑3 (Happy Elimination) Game Algorithm in PHP
php Courses
php Courses
Nov 24, 2020 · Backend Development

Curated List of Useful Open-Source PHP Projects

This article presents a curated collection of ten open‑source PHP projects—including a GitHub leak‑monitoring system, a high‑performance PHP extension, clean‑code examples, a Markdown parser, a cURL wrapper, a Swoole‑based music platform, a ThinkPHP e‑commerce suite, a self‑hosted RSS reader, a Laravel documentation manager, and a PHP interview Q&A repository—each with key features, usage snippets, and GitHub links for developers seeking robust backend tools.

GitHubLibrariesPHP
0 likes · 6 min read
Curated List of Useful Open-Source PHP Projects
Ops Development Stories
Ops Development Stories
Nov 24, 2020 · Backend Development

Master NGINX Unit: Install, Configure, and Run Multi‑Language Apps

This guide introduces NGINX Unit, a lightweight dynamic web and application server supporting multiple languages, and provides step‑by‑step installation instructions for CentOS, Ubuntu, and Docker, along with configuration examples for PHP and Java applications using its RESTful JSON API.

ConfigurationNGINX UnitPHP
0 likes · 8 min read
Master NGINX Unit: Install, Configure, and Run Multi‑Language Apps
php Courses
php Courses
Nov 23, 2020 · Backend Development

Using Gearman with PHP: Setup, Worker and Client Scripts, and Deployment

This article provides a step‑by‑step guide for configuring Gearman persistence, writing PHP worker and client scripts, setting up GearmanManager, launching the gearmand server with MySQL storage, and running the client to dispatch thousands of email jobs, illustrating fault‑tolerant asynchronous processing.

GearmanPHPbackend
0 likes · 4 min read
Using Gearman with PHP: Setup, Worker and Client Scripts, and Deployment
php Courses
php Courses
Nov 23, 2020 · Backend Development

music-php: A PHP Command-Line Music Search and Download Tool

music-php is a PHP‑based command‑line utility that uses the Meting library to search and download music from services like QQ, NetEase, KuGou, and Baidu, with installation instructions via Composer, phar files, and global or local setups.

CLIDownloaderMusic
0 likes · 2 min read
music-php: A PHP Command-Line Music Search and Download Tool
Laravel Tech Community
Laravel Tech Community
Nov 22, 2020 · Backend Development

Using PHP's array_search() to Locate a Value Within an Array

This article explains how PHP's array_search() function searches for a specified needle in a haystack array, describes its parameters—including the optional strict mode—and shows example code demonstrating how to retrieve the key of a matching element.

PHParray_searchbackend
0 likes · 2 min read
Using PHP's array_search() to Locate a Value Within an Array
DeWu Technology
DeWu Technology
Nov 22, 2020 · Backend Development

Evolution of Transaction System Architecture at DeWu

Alan, a twelve-year veteran of startup and e-commerce development, outlines DeWu’s transaction system evolution through five architectural eras—from a single ECS-Redis setup in 2017 to the modern, Java-based, Five-Color-Stone refactor that migrated 27 billion records, redesigned 700+ APIs, and now reliably powers major sales events while continuing protocol, gateway, monitoring, and compliance optimizations.

E‑commerceJavaPHP
0 likes · 4 min read
Evolution of Transaction System Architecture at DeWu
php Courses
php Courses
Nov 20, 2020 · Backend Development

Calculating Student Age Using PHP Date Functions

This tutorial demonstrates how to use PHP variables and the date() function to automatically compute a student's age based on their birthdate, handling current date retrieval, birthday checks, and adjusting the age calculation accordingly.

PHPage-calculationbackend
0 likes · 3 min read
Calculating Student Age Using PHP Date Functions
php Courses
php Courses
Nov 20, 2020 · Backend Development

PHP Tutorial: Using Variables to Store and Display Student Information

This tutorial explains how to define PHP variables for a student's name, birth date, subject and student number, enforce specific formatting rules, and embed the variables in a 4‑row × 2‑column HTML table to display the information on a web page.

HTMLPHPWeb Development
0 likes · 5 min read
PHP Tutorial: Using Variables to Store and Display Student Information
php Courses
php Courses
Nov 20, 2020 · Databases

Using topthink/think-migration for Database Migrations in ThinkPHP

This guide explains how to install and use the topthink/think-migration package with ThinkPHP to create, run, and roll back database migration scripts, covering version compatibility, command‑line operations, migration class creation, and practical examples for creating, updating, and deleting tables and columns.

CLIDatabase MigrationPHP
0 likes · 5 min read
Using topthink/think-migration for Database Migrations in ThinkPHP
Wukong Talks Architecture
Wukong Talks Architecture
Nov 20, 2020 · Backend Development

Understanding PHP Garbage Collection and Reference Counting

This article explains PHP's garbage collection mechanism, detailing how reference counting works, the role of zval structures, the identification and reclamation process, and provides source code insights to compare PHP's approach with Java's garbage collection.

PHPbackend-developmentgarbage-collection
0 likes · 9 min read
Understanding PHP Garbage Collection and Reference Counting
php Courses
php Courses
Nov 18, 2020 · Backend Development

Comprehensive PHP Online Course Curriculum – Three‑Stage Full‑Stack Development Program

This curriculum outlines a three‑stage live online program covering front‑end technologies, core PHP and MySQL development, and integrated full‑stack projects with frameworks like ThinkPHP6 and Laravel, plus optional electives and practical deployment and interview preparation for enterprise‑level applications.

DatabaseFull-StackPHP
0 likes · 5 min read
Comprehensive PHP Online Course Curriculum – Three‑Stage Full‑Stack Development Program
php Courses
php Courses
Nov 17, 2020 · Backend Development

Using Intervention Image Package in Laravel for Image Manipulation

This article introduces the Laravel-compatible Intervention Image package, explains how to install it via Composer, configure the service provider and alias, and demonstrates basic image operations such as resizing, saving, and resource destruction, including a known issue with overwriting files.

Intervention ImagePHPbackend
0 likes · 2 min read
Using Intervention Image Package in Laravel for Image Manipulation
php Courses
php Courses
Nov 17, 2020 · Backend Development

PHP Class for Converting Between Solar (Gregorian) and Lunar (Chinese) Calendars

This article presents a PHP class that implements algorithms for converting Gregorian dates to Chinese lunar dates and vice versa, including utilities for leap year detection, month length calculation, zodiac retrieval, and handling of leap months, with complete source code examples and usage demonstration.

Date ConversionLunar CalendarPHP
0 likes · 13 min read
PHP Class for Converting Between Solar (Gregorian) and Lunar (Chinese) Calendars
Laravel Tech Community
Laravel Tech Community
Nov 14, 2020 · Backend Development

PHP array_pop() – Popping the Last Element from an Array

This article explains PHP's array_pop() function, describing its behavior, parameters, return value, and provides a complete example that demonstrates how the function removes the last element from an array and what output is produced.

PHParray-manipulationarray_pop
0 likes · 2 min read
PHP array_pop() – Popping the Last Element from an Array
php Courses
php Courses
Nov 13, 2020 · Backend Development

Understanding ThinkPHP Query Method and Database Connection Initialization

The article explains how ThinkPHP’s query method works with raw SQL, distinguishes between execute for writes and query for reads, details MySQL master‑slave replication considerations, and describes the framework’s database connection initialization, including read/write separation logic and related code examples.

DatabasePHPSQL
0 likes · 6 min read
Understanding ThinkPHP Query Method and Database Connection Initialization
php Courses
php Courses
Nov 13, 2020 · Backend Development

Configuring ThinkPHP to Return JSON and Enable CORS for Vue Integration

This guide explains how to configure ThinkPHP to return JSON by default, set up individual JSON responses, and resolve Vue's cross‑origin request issues by adding appropriate Access‑Control‑Allow‑Origin headers in controller actions, with code examples for each step.

CORSPHPThinkPHP
0 likes · 2 min read
Configuring ThinkPHP to Return JSON and Enable CORS for Vue Integration
php Courses
php Courses
Nov 12, 2020 · Backend Development

Resolving Composer Dependency Issue for ThinkPHP 6.0.5: Installing think-view with the Correct PHP Version

This article explains how to resolve a ThinkPHP 6.0.5 view rendering error by installing the think-view template engine via Composer, addressing the PHP version incompatibility that caused the package installation to fail, and provides step‑by‑step instructions to adjust Composer’s PHP path or reinstall it with PHP 7.1 or higher.

Dependency ManagementPHPThinkPHP
0 likes · 2 min read
Resolving Composer Dependency Issue for ThinkPHP 6.0.5: Installing think-view with the Correct PHP Version
Laravel Tech Community
Laravel Tech Community
Nov 11, 2020 · Backend Development

PHP array_merge() Function: Merging One or More Arrays

The article explains PHP's array_merge() function, detailing how it combines one or multiple arrays, the handling of string and numeric keys, parameter descriptions, return values, and provides a complete code example with expected output.

ArrayPHParray merge
0 likes · 2 min read
PHP array_merge() Function: Merging One or More Arrays
php Courses
php Courses
Nov 10, 2020 · Backend Development

PHP Image Drawing Tutorial: Canvas Creation, Shapes, Text, and Captcha Generation

This tutorial explains how to use PHP's GD library to create a canvas, draw basic shapes such as ellipses, lines, rectangles, arcs, and filled arcs, output images in common formats, add text with TrueType fonts, generate captchas, and properly release memory, providing complete example code.

GD libraryGraphicsPHP
0 likes · 12 min read
PHP Image Drawing Tutorial: Canvas Creation, Shapes, Text, and Captcha Generation
php Courses
php Courses
Nov 10, 2020 · Backend Development

Building a Simple Chatroom with WebSocket and Swoole (PHP)

This tutorial demonstrates how to create a lightweight chatroom by combining WebSocket on the front end with Swoole's WebSocket server in PHP, covering project setup, required environment, client‑side HTML/JS, server‑side PHP code, and steps to run and test the application.

ChatroomJavaScriptPHP
0 likes · 8 min read
Building a Simple Chatroom with WebSocket and Swoole (PHP)
Laravel Tech Community
Laravel Tech Community
Nov 10, 2020 · Backend Development

Using array_map() to Apply a Callback Function to Array Elements

array_map() in PHP applies a user‑defined callback to each element of one or more arrays, returning a new array of the transformed values; the article explains its syntax, parameter requirements, return behavior, and provides multiple code examples demonstrating numeric, string, and mixed‑array usage.

PHParray-manipulationarray_map
0 likes · 3 min read
Using array_map() to Apply a Callback Function to Array Elements
php Courses
php Courses
Nov 6, 2020 · Backend Development

How to Install the Laravel Language Pack for Multilingual Support

This guide explains how to install the caouecs/laravel-lang language pack for various Laravel versions, copy the language files to the resources/lang directory, and configure the application locale to enable Chinese (or other) translations for form prompts and other interface text.

PHPbackendlanguage-pack
0 likes · 2 min read
How to Install the Laravel Language Pack for Multilingual Support
360 Quality & Efficiency
360 Quality & Efficiency
Nov 6, 2020 · Backend Development

Introduction to Swoole and Its Integration with ThinkPHP5

This article introduces Swoole as a high‑performance asynchronous PHP engine, explains its differences from traditional PHP execution, and provides step‑by‑step guidance on integrating Swoole with ThinkPHP5, including a complete code example and key implementation notes.

PHPSwooleThinkPHP5
0 likes · 7 min read
Introduction to Swoole and Its Integration with ThinkPHP5
php Courses
php Courses
Nov 5, 2020 · Backend Development

Advanced Laravel Authentication Customizations and Tips

This article provides a comprehensive guide to customizing Laravel's built‑in authentication system, covering route parameters, controller generation, password confirmation, device logout, redirect logic, user creation via Tinker and factories, login throttling, and additional credential checks, all with practical code examples.

AuthRoutesAuthenticationLaravel-UI
0 likes · 12 min read
Advanced Laravel Authentication Customizations and Tips
php Courses
php Courses
Nov 5, 2020 · Backend Development

How to Integrate Tencent Cloud SMS Service in PHP

This guide walks through enabling Tencent Cloud SMS, downloading the PHP SDK, placing required files, importing classes in a controller, creating an application and template in the console, and finally sending a test message after adding the phone number to the whitelist.

PHPTencent Cloudbackend
0 likes · 2 min read
How to Integrate Tencent Cloud SMS Service in PHP
php Courses
php Courses
Nov 5, 2020 · Backend Development

Essential Laravel Helper Functions for PHP Developers

This article introduces a collection of practical Laravel helper functions—including Str::limit, head, last, Str::between, blank, Str::contains, Arr::pluck, and collect—explaining their purpose, usage, and providing code examples to help PHP developers write cleaner, more efficient backend code.

Laravel ArrLaravel StrPHP
0 likes · 6 min read
Essential Laravel Helper Functions for PHP Developers
php Courses
php Courses
Nov 5, 2020 · Backend Development

Installing and Configuring the PHP Redis Extension for a Historical Search Queue

This guide walks through checking your PHP configuration, downloading the appropriate Redis extension, installing it, updating php.ini, verifying the installation, starting the Redis service, and shows the core template and PHP server code needed to implement a historical search queue using Redis.

Extension InstallationPHPQueue
0 likes · 2 min read
Installing and Configuring the PHP Redis Extension for a Historical Search Queue
php Courses
php Courses
Nov 4, 2020 · Backend Development

Implementing and Using ThinkPHP Container for Dependency Management

This article explains how to extend ThinkPHP's Container class with static get, getInstance, make, and magic methods, defines a bind array for aliases, modifies the entry script, and demonstrates retrieving Request instances to illustrate proper dependency injection in a PHP backend framework.

PHPThinkPHPbackend
0 likes · 4 min read
Implementing and Using ThinkPHP Container for Dependency Management
php Courses
php Courses
Nov 4, 2020 · Fundamentals

Various Methods to Compute the Nth Fibonacci Number in PHP

This article introduces the Fibonacci sequence, explains its definition, and presents six PHP implementations—including naive recursion, memoized recursion, bottom‑up iteration, iterative loop, closed‑form formula, and a lookup table—detailing their logic and performance considerations.

FibonacciPHPRecursion
0 likes · 6 min read
Various Methods to Compute the Nth Fibonacci Number in PHP
php Courses
php Courses
Nov 3, 2020 · Backend Development

Laravel-Quick: A Utility Package for Efficient Backend Development

Laravel-Quick is an open‑source Laravel package that provides translated validation messages, standardized HTTP status responses, exception handling, Redis‑based cache helpers, and artisan generators, with installation and usage instructions for backend developers.

CacheExceptionPHP
0 likes · 2 min read
Laravel-Quick: A Utility Package for Efficient Backend Development
php Courses
php Courses
Nov 3, 2020 · Backend Development

How to Enable PHP Short Open Tags on Ubuntu/Apache

This guide explains how to activate PHP short open tags by editing the php.ini file on an Ubuntu server with Apache, shows the syntax differences between full and short tags, and provides the necessary commands to reload Apache after the change.

PHPUbuntuphp-ini
0 likes · 3 min read
How to Enable PHP Short Open Tags on Ubuntu/Apache
php Courses
php Courses
Nov 3, 2020 · Backend Development

How to Update the Laravel Installer to the Latest Version

This guide explains how to upgrade the Laravel installer to the latest version using Composer, covering three methods: composer require, uninstall and reinstall, and editing the global composer.json, with commands and verification steps.

PHPUPDATEbackend
0 likes · 5 min read
How to Update the Laravel Installer to the Latest Version
php Courses
php Courses
Nov 3, 2020 · Backend Development

Integrating QQ Login with PHP: Step‑by‑Step Guide

This tutorial explains how to integrate QQ third‑party login into a PHP website by obtaining QQ Connect credentials, downloading and configuring the SDK, adding the necessary OAuth code, creating a login button, and handling the callback to retrieve user information.

OAuthPHPQQ Login
0 likes · 4 min read
Integrating QQ Login with PHP: Step‑by‑Step Guide
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Hook Behaviors in ThinkPHP: A Practical Guide

This article explains the concept of ThinkPHP Hook behaviors, demonstrates how to define, bind, and trigger custom behavior classes with code examples, and shows how to decouple login logic using event‑like hooks for more maintainable backend development.

DecouplingEventPHP
0 likes · 6 min read
Using Hook Behaviors in ThinkPHP: A Practical Guide
php Courses
php Courses
Nov 2, 2020 · Backend Development

Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP

This guide demonstrates how to set up a Redis multi-database singleton wrapper in a ThinkPHP project, covering prerequisite installation, configuration of connection parameters, creation of a custom Redis class with static instance management, and example usage of Redis commands across different databases.

CachePHPRedis
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
php Courses
php Courses
Nov 2, 2020 · Backend Development

Difference Between view() and fetch() Methods in ThinkPHP5 Controllers

The article explains the distinctions between the view() helper and the fetch() method in ThinkPHP5 controllers, showing code examples for both inherited and non‑inherited controllers, discussing how they handle common template configurations, and recommending the preferred usage in projects.

PHPThinkPHP5backend
0 likes · 2 min read
Difference Between view() and fetch() Methods in ThinkPHP5 Controllers
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Laravel's RedisLock to Prevent Cache Breakdown

This article explains the cache breakdown problem, introduces Laravel 7's built‑in RedisLock class, details its constructor parameters, and provides a complete code example demonstrating how to acquire and release a Redis lock to safely populate and update cached data.

CacheLockPHP
0 likes · 3 min read
Using Laravel's RedisLock to Prevent Cache Breakdown
Laravel Tech Community
Laravel Tech Community
Nov 1, 2020 · Backend Development

PHP array_flip: Swapping Array Keys and Values

This article explains how the PHP function array_flip works, its parameter requirements, return values, edge cases such as duplicate values, and provides clear code examples demonstrating how to swap keys and values in an associative array.

PHParray-manipulationarray_flip
0 likes · 2 min read
PHP array_flip: Swapping Array Keys and Values
php Courses
php Courses
Oct 30, 2020 · Backend Development

Common Laravel Collection Methods and Their Usage

This tutorial explains Laravel's powerful Collection class, demonstrating how to create collections with the collect helper and use methods such as filter, search, chunk, map, zip, whereNotIn, max, pluck, each, tap, pipe, contains, forget, and avg to manipulate data without additional database queries.

CollectionsData manipulationEloquent
0 likes · 10 min read
Common Laravel Collection Methods and Their Usage
php Courses
php Courses
Oct 30, 2020 · Big Data

Introduction to Elasticsearch and Its Integration with Laravel

This article explains Elasticsearch's foundation on Lucene, compares its concepts to MySQL, describes inverted indexing, and provides a step‑by‑step guide for installing, configuring, and using the basemkhirat/elasticsearch Laravel plugin with code examples and tips for Chinese analysis.

ElasticsearchIndexingPHP
0 likes · 4 min read
Introduction to Elasticsearch and Its Integration with Laravel
php Courses
php Courses
Oct 30, 2020 · Backend Development

Setting Up a Log Viewer in Hyperf with Routing and View Components

This guide explains how to install and configure the Hyperf log‑viewer component, publish its configuration, register a route, add view and template engine support, and adjust view and log settings to enable file log browsing and simple search within a PHP backend application.

HyperfLog ViewerPHP
0 likes · 3 min read
Setting Up a Log Viewer in Hyperf with Routing and View Components
php Courses
php Courses
Oct 30, 2020 · Backend Development

Common PHP Code Review Mistakes and How to Fix Them

After extensive code reviews, this article highlights frequent PHP mistakes—such as testing empty arrays before loops, unnecessary nesting, repeated isset calls, misuse of echo with sprintf, and inefficient array key checks—and provides concise refactored examples to improve readability and performance.

PHPcode reviewprogramming
0 likes · 4 min read
Common PHP Code Review Mistakes and How to Fix Them
Laravel Tech Community
Laravel Tech Community
Oct 17, 2020 · Backend Development

Binary‑Safe String Comparison with strcmp() in PHP

This article explains PHP's binary‑safe strcmp() function, detailing its case‑sensitive behavior, parameter meanings, return values, and provides a complete example demonstrating how to compare two strings and handle the result in code.

PHPbackendstrcmp
0 likes · 2 min read
Binary‑Safe String Comparison with strcmp() in PHP
Laravel Tech Community
Laravel Tech Community
Oct 15, 2020 · Backend Development

Using PHP wordwrap() to Split Strings into Specified Lengths

This article explains the PHP wordwrap() function, its parameters (string, width, break, cut), return value, and provides two practical examples demonstrating how to break long strings into lines with custom delimiters and optional word cutting.

PHPString Manipulationbackend
0 likes · 2 min read
Using PHP wordwrap() to Split Strings into Specified Lengths
Laravel Tech Community
Laravel Tech Community
Oct 14, 2020 · Backend Development

Using mb_strtoupper() to Convert Strings to Uppercase in PHP

This article explains the PHP mb_strtoupper() function, detailing its syntax, parameters, return value, and demonstrates usage that converts English and Unicode strings to uppercase, highlighting optional encoding handling, including how to set internal encoding and handle multibyte characters correctly.

PHPString Functionsmb_strtoupper
0 likes · 2 min read
Using mb_strtoupper() to Convert Strings to Uppercase in PHP
Laravel Tech Community
Laravel Tech Community
Oct 13, 2020 · Backend Development

Using mb_strtolower() to Convert Strings to Lowercase in PHP

The article explains PHP's mb_strtolower() function, detailing its purpose to convert all alphabetic characters in a string to lowercase, describing its parameters, return value, and providing two illustrative examples—including handling of UTF‑8 encoded text.

PHPencodingexample
0 likes · 2 min read
Using mb_strtolower() to Convert Strings to Lowercase in PHP
Laravel Tech Community
Laravel Tech Community
Oct 10, 2020 · Backend Development

PHP mb_strstr() – Find First Occurrence of a Substring

The article explains PHP’s mb_strstr() function, detailing its syntax, how it finds the first occurrence of a needle in a haystack, the optional before_needle and encoding parameters, and the return values including FALSE when the needle is absent.

PHPSubstringbackend
0 likes · 2 min read
PHP mb_strstr() – Find First Occurrence of a Substring
Laravel Tech Community
Laravel Tech Community
Sep 29, 2020 · Backend Development

PHP mb_substr Function: Multibyte‑Safe Substring Extraction

This article explains the PHP mb_substr() function, detailing its multibyte‑safe substring behavior, parameter list (str, start, length, encoding), return value, and provides a clear example showing how to extract the first two characters from a Chinese string.

FunctionPHPbackend
0 likes · 2 min read
PHP mb_substr Function: Multibyte‑Safe Substring Extraction
21CTO
21CTO
Sep 28, 2020 · Backend Development

Why PHP and .NET Remain the Top Choices for Enterprise Web Development

The article compares PHP and .NET, highlighting their performance, rapid development cycles, strong community support, rich libraries, security features, and cross‑platform capabilities, explaining why they are the preferred backend stacks for businesses building modern web applications.

.NETPHPbackend
0 likes · 9 min read
Why PHP and .NET Remain the Top Choices for Enterprise Web Development
Laravel Tech Community
Laravel Tech Community
Sep 21, 2020 · Backend Development

PHP chgrp Function: Change File Group Ownership

The article explains PHP’s chgrp function, which changes a file’s group ownership, outlines its syntax, required parameters, permission restrictions, return values, and provides a complete PHP example demonstrating how to modify a file’s group and display the result.

File PermissionsPHPSystem Call
0 likes · 2 min read
PHP chgrp Function: Change File Group Ownership
Laravel Tech Community
Laravel Tech Community
Sep 18, 2020 · Backend Development

Using Laravel Pipeline with Custom Pipes for Request Processing

This article explains how to set up a Laravel route and controller that leverages the Pipeline class to pass a request through three custom pipe classes—LeftWords, RightWords, and BothSidesWords—modifying the input and storing the result as a new user record.

MiddlewarePHPPipeline
0 likes · 4 min read
Using Laravel Pipeline with Custom Pipes for Request Processing
Laravel Tech Community
Laravel Tech Community
Sep 17, 2020 · Backend Development

PHP chdir() Function: Change Working Directory

This article explains the PHP chdir() function, its syntax, parameters, return values, and provides a practical example showing how to change the current working directory and verify the change using getcwd().

PHPbackendchdir
0 likes · 1 min read
PHP chdir() Function: Change Working Directory
Laravel Tech Community
Laravel Tech Community
Sep 15, 2020 · Backend Development

PHP is_dir() Function: Determine if a Path is a Directory

This article explains the PHP is_dir() function, describing its purpose to check whether a given filename refers to an existing directory, detailing its parameter, return values, and providing example code snippets demonstrating true and false outcomes for various path inputs.

FunctionPHPbackend
0 likes · 2 min read
PHP is_dir() Function: Determine if a Path is a Directory
Laravel Tech Community
Laravel Tech Community
Sep 14, 2020 · Backend Development

PHP rmdir() Function: Deleting Directories

The PHP rmdir() function removes an empty directory with proper permissions, returning TRUE on success or FALSE on failure, and the article explains its parameters, return values, and provides cross‑platform code examples for safely deleting directories.

PHPbackenddirectory deletion
0 likes · 2 min read
PHP rmdir() Function: Deleting Directories
Laravel Tech Community
Laravel Tech Community
Sep 12, 2020 · Backend Development

Common Laravel 7 Installation Errors and Their Solutions

This guide details typical Laravel 7 installation problems—such as missing PHP extensions, version mismatches, 403 errors, cache and permission issues—and provides step‑by‑step Composer commands, code snippets, and troubleshooting solutions to help developers quickly resolve them.

DebuggingInstallationPHP
0 likes · 6 min read
Common Laravel 7 Installation Errors and Their Solutions
Laravel Tech Community
Laravel Tech Community
Sep 9, 2020 · Backend Development

Understanding PHP preg_replace: Syntax, Parameters, and Practical Examples

This article explains PHP's preg_replace function, detailing its signature, parameter meanings, return values, and providing multiple code examples that demonstrate pattern matching, backreferences, array handling, and replacement limits for effective string manipulation in backend development.

PHPString Manipulationbackend development
0 likes · 6 min read
Understanding PHP preg_replace: Syntax, Parameters, and Practical Examples