Tagged articles

PHP

3051 articles · Page 24 of 31
Architecture Digest
Architecture Digest
Jun 13, 2021 · Backend Development

Implementing a Real-Time Leaderboard with Redis for a Mobile Game

This article explains how to build a real‑time, dual‑dimension leaderboard for a mobile tank game using Redis Sorted Sets, covering ranking types, composite score calculations, dynamic updates, efficient data retrieval with pipelines, and a complete PHP implementation.

LeaderboardPHPRedis
0 likes · 8 min read
Implementing a Real-Time Leaderboard with Redis for a Mobile Game
Laravel Tech Community
Laravel Tech Community
Jun 9, 2021 · Backend Development

PDO::inTransaction – Check If Inside a Transaction

PDO::inTransaction is a PHP PDO method that returns a boolean indicating whether the current database connection is actively within a transaction, applicable only to drivers that support transactions, and it takes no parameters.

BackendPDOPHP
0 likes · 1 min read
PDO::inTransaction – Check If Inside a Transaction
php Courses
php Courses
Jun 3, 2021 · Backend Development

Various PHP Tips, Tricks, and Gotchas: Parameter Order, String Operators, OpCache, Security, Reflection, and More

This article compiles a wide range of practical PHP knowledge—including function‑parameter ordering, proper salt storage, newline handling, string‑operator precedence, http_build_query quirks, OpCache basics, the HTTPOXY vulnerability, operator precedence nuances, instanceof behavior, array_map tricks, performance considerations for array functions, type‑juggling pitfalls, comparison changes in PHP 8, and different ways to merge arrays—providing code examples and references for each topic.

BackendPHPphp-operators
0 likes · 23 min read
Various PHP Tips, Tricks, and Gotchas: Parameter Order, String Operators, OpCache, Security, Reflection, and More
Laravel Tech Community
Laravel Tech Community
May 28, 2021 · Backend Development

PHP mcrypt_generic() Function for Data Encryption

The article explains PHP's mcrypt_generic() function, detailing its purpose for encrypting data, required parameters ($td as the encryption descriptor and $data as the plaintext), the need for block-size-aligned input, initialization and cleanup steps, and the nature of its returned encrypted output.

PHPencryptionmcrypt
0 likes · 2 min read
PHP mcrypt_generic() Function for Data Encryption
php Courses
php Courses
May 28, 2021 · Backend Development

Resolving the PHP Type‑Hint Error: Argument 1 Must Be an Instance of int

This article explains a confusing PHP error where a method expects an instance of int but receives an integer, analyzes three common causes—including an incorrect use statement, outdated PHP version, and unnecessary type hint—and provides concise solutions for each.

BackendPHPphp7
0 likes · 2 min read
Resolving the PHP Type‑Hint Error: Argument 1 Must Be an Instance of int
Laravel Tech Community
Laravel Tech Community
May 27, 2021 · Backend Development

PHP mcrypt_encrypt Function: Parameters, Usage, and Return Value

mcrypt_encrypt encrypts plaintext using a specified cipher, key, mode, and optional IV, returning the ciphertext as a string or FALSE on failure, with detailed explanations of each parameter—including cipher name, key length requirements, data padding, mode options, and IV usage—provided for PHP developers.

BackendPHPmcrypt
0 likes · 2 min read
PHP mcrypt_encrypt Function: Parameters, Usage, and Return Value
Laravel Tech Community
Laravel Tech Community
May 24, 2021 · Backend Development

8 Essential Built‑in PHP Functions Every Developer Should Know

This article presents eight essential built‑in PHP functions—including variable‑argument handling, file searching with glob(), memory and CPU usage monitoring, system constants, unique ID generation, serialization, and string compression—complete with clear code examples to help developers write more efficient PHP code.

Backend DevelopmentCode ExamplesPHP
0 likes · 9 min read
8 Essential Built‑in PHP Functions Every Developer Should Know
php Courses
php Courses
May 24, 2021 · Backend Development

PHP Interview Questions and Sample Code Answers

This article presents a comprehensive collection of PHP interview questions covering topics such as directory creation, Smarty template features, safe mode restrictions, file handling, regular expressions, MVC concepts, and includes complete code examples for each solution.

BackendPHPcode
0 likes · 27 min read
PHP Interview Questions and Sample Code Answers
58 Tech
58 Tech
May 21, 2021 · Backend Development

Designing High‑Concurrency Systems with PHP Object Pooling and Swoole IPC

The article explains the core idea of pooling to trade space for time, analyzes the shortcomings of in‑process connection pools in PHP‑FPM, proposes long‑connection and cross‑process pooling solutions using Swoole’s IPC mechanisms, and demonstrates significant CPU and latency improvements in a real‑world high‑concurrency backend.

IPCPHPSwoole
0 likes · 9 min read
Designing High‑Concurrency Systems with PHP Object Pooling and Swoole IPC
php Courses
php Courses
May 21, 2021 · Backend Development

Using Named Parameters and Match Expressions in PHP 8

This article explains PHP 8's named parameters, how they allow flexible argument ordering, skipping defaults, variadic usage, and demonstrates the new match expression with strict typing and constructor property promotion examples.

BackendPHPmatch expression
0 likes · 3 min read
Using Named Parameters and Match Expressions in PHP 8
Laravel Tech Community
Laravel Tech Community
May 17, 2021 · Backend Development

hash_update() – Adding Data to an Active Hash Context

hash_update() is a PHP function that appends a string of data to an active hash computation context created by hash_init(), takes a resource context and a string data as parameters, and returns TRUE upon successful update of the hash digest.

PHPhashhash_update
0 likes · 1 min read
hash_update() – Adding Data to an Active Hash Context
Laravel Tech Community
Laravel Tech Community
May 14, 2021 · Backend Development

PHP hash_init: Initialize Incremental Hashing Context

The article explains PHP's hash_init function, detailing its purpose to initialize an incremental hashing context, describing its parameters (algorithm name, options, key), return value, and provides a complete example demonstrating how to compute an MD5 hash using hash_update and hash_final.

PHPhashincremental hashing
0 likes · 2 min read
PHP hash_init: Initialize Incremental Hashing Context
Didi Tech
Didi Tech
May 14, 2021 · Backend Development

Bay Flow Platform: Service‑Side API Architecture and Evolution at DiDi

DiDi’s Bay Flow platform transforms its service‑side API into a configurable, layered “travel middle‑platform” that routes front‑end requests through a flow layer and reusable ability components, using the Dukang framework’s transports, steps, and factors to support dozens of ride‑hailing categories across PHP and Go while ensuring isolation and high reuse.

Dukang frameworkPHPPlatform Design
0 likes · 15 min read
Bay Flow Platform: Service‑Side API Architecture and Evolution at DiDi
php Courses
php Courses
May 12, 2021 · Backend Development

Implementing Direct OSS Upload Signature in PHP

This tutorial explains how to create a lightweight PHP class for generating OSS direct‑upload signatures, describes the advantages of client‑side uploads without server bandwidth, provides the full source code, and highlights common pitfalls such as bucketHost configuration and policy newline handling.

BackendOSSPHP
0 likes · 3 min read
Implementing Direct OSS Upload Signature in PHP
Laravel Tech Community
Laravel Tech Community
May 10, 2021 · Backend Development

Using hash_file() to Generate a File Hash in PHP

This article explains PHP's hash_file() function, its parameters, return values, security use cases, and provides a complete example demonstrating how to compute an MD5 hash of a file, including code snippets and expected output.

File HashingPHPhash_file
0 likes · 3 min read
Using hash_file() to Generate a File Hash in PHP
Laravel Tech Community
Laravel Tech Community
May 10, 2021 · Backend Development

Laravel Performance Optimization: Best Practices and Tuning Techniques

This article presents a comprehensive guide to improving Laravel application performance by covering configuration caching, route caching, class map optimization, autoload optimization, session storage with Memcached, professional cache drivers, database query tuning, dataset caching, JIT compilers, and front‑end asset bundling.

BackendPHPcaching
0 likes · 7 min read
Laravel Performance Optimization: Best Practices and Tuning Techniques
Laravel Tech Community
Laravel Tech Community
May 8, 2021 · Backend Development

hash_copy() – Copying a Hash Context in PHP

The article explains PHP’s hash_copy() function, detailing its purpose of duplicating a hash context, the required $context parameter, the returned resource, and provides a complete example with code and expected output for demonstration.

PHPhashhash_copy
0 likes · 2 min read
hash_copy() – Copying a Hash Context in PHP
php Courses
php Courses
May 8, 2021 · Backend Development

Efficient CSV Export in PHP for Large Datasets

This article explains how to efficiently export large datasets to CSV files using PHP, describing the CSV format, why a simple streaming approach outperforms PHPExcel, performance expectations for 200,000 rows, and provides a complete PHP function that handles encoding, buffering, and memory‑friendly output.

BackendCSVData Export
0 likes · 3 min read
Efficient CSV Export in PHP for Large Datasets
Laravel Tech Community
Laravel Tech Community
Apr 27, 2021 · Backend Development

zip_entry_close – Close a ZIP Directory Entry (PHP)

The PHP function zip_entry_close closes a previously opened ZIP directory entry, takes a zip entry resource as its sole argument, and returns TRUE on success or FALSE on failure, providing a simple way to release resources when working with ZIP archives.

File HandlingPHP
0 likes · 1 min read
zip_entry_close – Close a ZIP Directory Entry (PHP)
Efficient Ops
Efficient Ops
Apr 26, 2021 · Information Security

Deploying WAF-FLE: A Step‑by‑Step Guide to Managing ModSecurity Logs

This article walks you through installing and configuring the open‑source WAF‑FLE console—written in PHP—to collect, search, and visualize ModSecurity logs on Apache or Nginx, covering environment setup, database creation, sensor configuration, and troubleshooting common integration issues.

ModSecurityNginxPHP
0 likes · 8 min read
Deploying WAF-FLE: A Step‑by‑Step Guide to Managing ModSecurity Logs
php Courses
php Courses
Apr 25, 2021 · Backend Development

Using PHP extract() to Convert Array Elements into Variables

This article explains the PHP extract() function, its syntax, parameters, return value, and provides two practical code examples showing how to turn associative array entries into individual variables with optional prefix handling.

BackendExtractPHP
0 likes · 4 min read
Using PHP extract() to Convert Array Elements into Variables
php Courses
php Courses
Apr 25, 2021 · Backend Development

Using PHP list() to Assign Array Values to Variables

This article explains how PHP's list() function can assign values from an indexed array to multiple variables, compares it with extract(), and provides four code examples illustrating full assignment, skipping elements, selecting a single element, and the limitation with strings.

BackendListPHP
0 likes · 3 min read
Using PHP list() to Assign Array Values to Variables
Laravel Tech Community
Laravel Tech Community
Apr 23, 2021 · Backend Development

Common Laravel and PHP Interview Questions and Answers

This article compiles frequently asked Laravel and PHP interview questions, providing concise explanations of core concepts such as the framework's architecture, routing, middleware, Eloquent ORM, service container, authentication, authorization, testing tools, and deployment practices, useful for both beginners and experienced candidates.

BackendEloquentPHP
0 likes · 23 min read
Common Laravel and PHP Interview Questions and Answers
php Courses
php Courses
Apr 23, 2021 · Backend Development

Converting Decimal Numbers to Binary in PHP with decbin()

This article explains how to use PHP's built‑in decbin() function to convert decimal integers into their binary string representation, covering the function syntax, parameter details, return limits, and providing a clear code example with expected output.

BackendConversionDecimal
0 likes · 1 min read
Converting Decimal Numbers to Binary in PHP with decbin()
php Courses
php Courses
Apr 23, 2021 · Backend Development

How to Install and Configure YASD for PHP Debugging with PhpStorm

This guide walks through installing the YASD debugging extension, adding the necessary php.ini settings, configuring PhpStorm's debug port and server path mapping, and running a PHP project (e.g., Hyperf) with breakpoints to enable remote debugging via a browser.

BackendPHPyasd
0 likes · 2 min read
How to Install and Configure YASD for PHP Debugging with PhpStorm
Laravel Tech Community
Laravel Tech Community
Apr 22, 2021 · Backend Development

zip_close() – Close a ZIP Archive File (PHP)

The PHP function zip_close() terminates a ZIP archive opened with zip_open(), taking the ZIP resource as its sole argument, performs no return value, and is essential for properly releasing file handles in backend development.

Backend DevelopmentPHPzip_close
0 likes · 1 min read
zip_close() – Close a ZIP Archive File (PHP)
php Courses
php Courses
Apr 22, 2021 · Backend Development

Comparing Three PHP Methods to Multiply an Integer by 1000: String Concatenation, Direct Multiplication, and 1024‑Minus‑24 Approximation

This article examines three ways to enlarge a positive integer by a factor of one thousand in PHP—concatenating "000", multiplying by 1000, and using the expression X*1024‑X*24—benchmarks each method with ten million iterations, analyses the performance results, and discusses why the binary‑based formula may be slower than direct multiplication.

BackendPHPPerformance
0 likes · 6 min read
Comparing Three PHP Methods to Multiply an Integer by 1000: String Concatenation, Direct Multiplication, and 1024‑Minus‑24 Approximation
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.

File HandlingPHPzip_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.

BackendFile HandlingPHP
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.

BackendFunctionPHP
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.

ArchitectureBackendPHP
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.

BackendICMPPHP
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.

BackendFile HandlingPHP
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.

PHPdirectoryfilesystem
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.

PHPdirectoryfilesystem
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.

BackendPHPmethod overriding
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.

PHPdirectoryfilesystem
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.

Object-Oriented ProgrammingPHPTraits
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.

JavaPHPdeserialization
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.

BackendFile SystemPHP
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.

BackendExceptionPHP
0 likes · 3 min read
Integrating Whoops Error Handler into ThinkPHP6