Tagged articles
91 articles
Page 1 of 1
Black & White Path
Black & White Path
Apr 11, 2026 · Information Security

A Beginner’s Struggle: Securing a Compromised ThinkPHP Site Over Several Days

The author recounts a multi‑day incident response to a ThinkPHP website that was compromised via a weak admin password, detailing how repeated data tampering, hidden scheduled‑task scripts, and a ransom message were investigated, mitigated, and finally contained through systematic hardening and monitoring.

PHPServer HardeningThinkPHP
0 likes · 7 min read
A Beginner’s Struggle: Securing a Compromised ThinkPHP Site Over Several Days
Open Source Tech Hub
Open Source Tech Hub
Jan 16, 2026 · Backend Development

ThinkPHP 6.0 Update: Core & ORM Enhancements, PHP 8.5 Compatibility

The ThinkPHP 6.0 release brings extensive core and ORM improvements—including Config, routing, request/response, Redis caching, lazy collections, view model lifecycle, and query enhancements—adds new CLI tools, ensures full PHP 8.5 compatibility, and provides detailed upgrade instructions and migration notes.

BackendFrameworkORM
0 likes · 11 min read
ThinkPHP 6.0 Update: Core & ORM Enhancements, PHP 8.5 Compatibility
php Courses
php Courses
Sep 29, 2025 · Backend Development

How to Build Maintainable ThinkPHP Apps: Proven Best Practices

This article outlines essential best‑practice guidelines for developing maintainable ThinkPHP applications, covering framework principles, directory organization, naming standards, error handling, caching, performance tuning, test‑driven development, and effective team collaboration with version control.

PHPThinkPHPbackend-development
0 likes · 4 min read
How to Build Maintainable ThinkPHP Apps: Proven Best Practices
Open Source Tech Hub
Open Source Tech Hub
Jul 24, 2025 · Backend Development

Mastering ThinkPHP’s Think Queue: Installation, Usage, and Command Guide

Learn how to install and configure ThinkPHP’s official Think Queue extension, explore its core features, follow step-by-step usage flows—including job creation, pushing, processing, and command options—while also seeing practical code examples and supervisor integration for reliable background task handling.

BackendJob ProcessingPHP
0 likes · 9 min read
Mastering ThinkPHP’s Think Queue: Installation, Usage, and Command Guide
Open Source Tech Hub
Open Source Tech Hub
Jun 25, 2025 · Backend Development

How ThinkPHP Evolved Over 20 Years to Shape China’s PHP Landscape

This article chronicles the 20‑year journey of the ThinkPHP framework—from its 2006 origins as FCS through its golden 3.x era, the disruptive 5.x rewrite, and the mature 6.x‑8.x evolution—highlighting its community impact, AI initiatives, and ongoing commitment to simplicity amid modern web challenges.

Chinese Web DevelopmentFramework EvolutionPHP
0 likes · 10 min read
How ThinkPHP Evolved Over 20 Years to Shape China’s PHP Landscape
Open Source Tech Hub
Open Source Tech Hub
Apr 30, 2025 · Backend Development

Why Webman Leads 2025 PHP Framework Rankings and How ThinkPHP & Laravel Stack Up

This article evaluates the 2025 PHP framework landscape, detailing Webman's performance‑focused architecture, ThinkPHP's enterprise‑friendly features, and Laravel's extensive ecosystem, while offering practical guidance on choosing the right framework for high‑concurrency, real‑time, and large‑scale web applications.

LaravelPHPThinkPHP
0 likes · 7 min read
Why Webman Leads 2025 PHP Framework Rankings and How ThinkPHP & Laravel Stack Up
Open Source Tech Hub
Open Source Tech Hub
Jan 15, 2025 · Backend Development

What’s New in ThinkPHP 8.1.2? Key Features and Debugging Enhancements

ThinkPHP 8.1.2 introduces a host of improvements such as enhanced event subscription, new validation utilities, route grouping options, cookie handling fixes, multi‑module view rendering, language auto‑detect, and a brand‑new debugging library that supports local and remote debugging via Composer.

BackendFrameworkPHP
0 likes · 3 min read
What’s New in ThinkPHP 8.1.2? Key Features and Debugging Enhancements
php Courses
php Courses
Dec 9, 2024 · Backend Development

Comprehensive ThinkPHP 8.x Development Course: PHP Environment Setup, Framework Configuration, and Advanced Features

This course teaches PHP environment installation, ThinkPHP 8.x framework setup, coding standards, routing, controllers, database operations, model management, advanced queries, middleware, caching, validation, file handling, and more, enabling learners to build robust web applications with ThinkPHP.

FrameworkPHPThinkPHP
0 likes · 4 min read
Comprehensive ThinkPHP 8.x Development Course: PHP Environment Setup, Framework Configuration, and Advanced Features
Open Source Tech Hub
Open Source Tech Hub
Nov 29, 2024 · Backend Development

Mastering ThinkPHP 4.0+ Entity Models: A Complete Backend Guide

This guide explains ThinkPHP 4.0+ entity models, covering their layered architecture, installation, entity and model definitions, automatic relation queries, new type casting, accessors, configuration options, virtual and view models, with full code examples and practical tips for backend developers.

Entity ModelORMPHP
0 likes · 11 min read
Mastering ThinkPHP 4.0+ Entity Models: A Complete Backend Guide
Open Source Tech Hub
Open Source Tech Hub
Nov 23, 2024 · Backend Development

What’s New in ThinkPHP 8.1? Detailed Feature and Fix List

ThinkPHP 8.1, slated for release in November, brings extensive improvements over 8.0—including routing enhancements, validation upgrades, multi‑module support, new middleware controls, expanded cache options, refined exception handling, and compatibility with PHP 8.4—providing developers with a more robust and flexible backend framework.

BackendCachePHP
0 likes · 4 min read
What’s New in ThinkPHP 8.1? Detailed Feature and Fix List
php Courses
php Courses
Nov 19, 2024 · Mobile Development

Full-Stack Mobile App Development with uniapp and ThinkPHP

This course, designed for developers with basic front‑end experience, teaches how to combine the uniapp framework and ThinkPHP backend to build high‑performance, cross‑platform mobile applications, covering topics such as data modeling, token authentication, middleware, API design, pagination, and deployment.

BackendMobile DevelopmentThinkPHP
0 likes · 3 min read
Full-Stack Mobile App Development with uniapp and ThinkPHP
php Courses
php Courses
Aug 28, 2024 · Backend Development

ThinkPHP 8.x Framework Course Overview and Curriculum

This course teaches PHP environment setup, ThinkPHP 8.x framework installation, coding standards, database operations, and advanced query techniques through a comprehensive curriculum covering configuration, controllers, models, routing, middleware, and utility functions, enabling rapid development of robust web applications.

FrameworkThinkPHPWeb Development
0 likes · 5 min read
ThinkPHP 8.x Framework Course Overview and Curriculum
php Courses
php Courses
Jul 29, 2024 · Mobile Development

Full-Stack APP Development with uniapp and ThinkPHP

This course teaches learners with basic front‑end skills how to combine the uniapp framework and ThinkPHP backend to build high‑performance, cross‑platform mobile applications, covering data modeling, token authentication, API design, middleware, pagination, and deployment.

BackendThinkPHPUniapp
0 likes · 3 min read
Full-Stack APP Development with uniapp and ThinkPHP
php Courses
php Courses
Mar 26, 2024 · Backend Development

ThinkPHP 8.x Framework Course Overview and Curriculum

This course provides a comprehensive tutorial on configuring PHP environments and mastering the ThinkPHP 8.x framework, covering installation, coding standards, routing, controllers, database operations, model management, middleware, caching, validation, and deployment techniques for robust backend web development.

BackendFrameworkPHP
0 likes · 6 min read
ThinkPHP 8.x Framework Course Overview and Curriculum
php Courses
php Courses
Nov 25, 2023 · Backend Development

Best Practices for Writing Maintainable ThinkPHP Applications

This article outlines key guidelines for developing maintainable ThinkPHP applications, covering framework design principles, directory structure, naming conventions, error handling, caching, performance optimization, test‑driven development, and effective team collaboration with version control.

BackendThinkPHPcaching
0 likes · 5 min read
Best Practices for Writing Maintainable ThinkPHP Applications
Laravel Tech Community
Laravel Tech Community
Jul 2, 2023 · Backend Development

How to Install ThinkPHP 8.0 and Perform an Upgrade

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

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

Using ThinkPHP 6 for Email Queue Processing

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

Email QueuePHPThinkPHP
0 likes · 5 min read
Using ThinkPHP 6 for Email Queue Processing
php Courses
php Courses
May 13, 2023 · Artificial Intelligence

Implementing Face Recognition with ThinkPHP and Tencent Cloud AI

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

APIPHPTencent Cloud
0 likes · 6 min read
Implementing Face Recognition with ThinkPHP and Tencent Cloud AI
php Courses
php Courses
Mar 25, 2023 · Backend Development

ThinkPHP Hook Behaviors: Concepts, Usage Examples, and Implementation

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

FrameworkHookPHP
0 likes · 6 min read
ThinkPHP Hook Behaviors: Concepts, Usage Examples, and Implementation
Laravel Tech Community
Laravel Tech Community
Feb 15, 2023 · Information Security

ThinkPHP Deserialization Vulnerability (CVE-2022-45982)

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

CVE-2022-45982DeserializationPHP
0 likes · 2 min read
ThinkPHP Deserialization Vulnerability (CVE-2022-45982)
Laravel Tech Community
Laravel Tech Community
Dec 25, 2022 · Backend Development

How to Install and Configure think-captcha in ThinkPHP

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

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

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

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

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

How to Set Up a ThinkPHP 6.x Project with Composer, ORM, and Bootstrap UI

This tutorial walks through configuring the development environment, installing Composer, ThinkPHP 6.x, ORM extensions, setting up database credentials, running the built‑in server, and integrating Bootstrap UI components with proper view configuration and sample code snippets.

BootstrapComposerThinkPHP
0 likes · 5 min read
How to Set Up a ThinkPHP 6.x Project with Composer, ORM, and Bootstrap UI
IT Architects Alliance
IT Architects Alliance
Apr 14, 2022 · Backend Development

Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x

SAPI++ is an open‑source multi‑application, multi‑tenant SaaS framework built on ThinkPHP 6.x, offering out‑of‑the‑box installation, API authentication, menu integration, and support for various front‑end technologies; the article details its features, advantages, required environment, and directory layout for developers.

PHPSAPI++SaaS Framework
0 likes · 9 min read
Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x
php Courses
php Courses
Feb 23, 2022 · Backend Development

How to Import Data in ThinkPHP 5.1 Using PHPExcel

This tutorial explains how to set up Composer, install the PHPExcel library, create a front‑end upload form with Layui, write JavaScript for file handling, and implement a ThinkPHP 5.1 backend that reads Excel files and imports member data into the database.

ThinkPHPdata importphpexcel
0 likes · 8 min read
How to Import Data in ThinkPHP 5.1 Using PHPExcel
Laravel Tech Community
Laravel Tech Community
Feb 16, 2022 · Databases

Using Phinx for Database Migrations in ThinkPHP

This tutorial explains how to install, configure, and operate Phinx within a ThinkPHP project to manage database schema migrations, create and run seed data, update tables, roll back changes, and keep development environments synchronized.

CLIPHPPhinx
0 likes · 6 min read
Using Phinx for Database Migrations in ThinkPHP
php Courses
php Courses
Dec 12, 2021 · Backend Development

How to Log Baidu Spider Visits in ThinkPHP6

This article explains how to add a base controller method in ThinkPHP6 that detects search engine spider user‑agents, builds the request URL, obtains the real client IP, and stores the spider name, URL, and IP into a BaiduLog model for logging purposes.

SpiderThinkPHPWeb Crawlers
0 likes · 3 min read
How to Log Baidu Spider Visits in ThinkPHP6
php Courses
php Courses
Jul 15, 2021 · Backend Development

ThinkPHP 6 Repository Package (think-repository) Usage Guide

This guide introduces the think-repository package for ThinkPHP 6, explains how to install it via Composer, demonstrates common repository methods for CRUD operations, routing, and transformer generation, and provides code examples for integrating the repository into multi‑application back‑end projects.

CRUDComposerRepository Pattern
0 likes · 4 min read
ThinkPHP 6 Repository Package (think-repository) Usage Guide
php Courses
php Courses
Jul 13, 2021 · Backend Development

Understanding the runWithRequest Method and Application Initialization in ThinkPHP

This article explains the ThinkPHP runWithRequest method, its call to the initialize routine, and details the initialization steps including environment loading, configuration parsing, language pack loading, debug mode setup, middleware loading, and service registration and bootstrapping, with full code examples.

FrameworkInitializationThinkPHP
0 likes · 10 min read
Understanding the runWithRequest Method and Application Initialization in ThinkPHP
php Courses
php Courses
May 20, 2021 · Backend Development

How to Resolve the ThinkPHP Multi‑App “Index Class Not Found” Error

This guide explains why the ThinkPHP controller Index class may not be found in a multi‑app setup, lists common causes, and provides three step‑by‑step solutions—including installing the think‑multi‑app extension, adjusting configuration files, and using full‑path URLs—along with the necessary code changes.

BackendConfigurationError Handling
0 likes · 4 min read
How to Resolve the ThinkPHP Multi‑App “Index Class Not Found” Error
php Courses
php Courses
Apr 25, 2021 · Backend Development

Dynamic Category Loading with Layui and ThinkPHP 5.1

This tutorial demonstrates how to integrate Layui with ThinkPHP 5.1 to dynamically load hierarchical city category data, covering HTML setup, JavaScript tree rendering, PHP backend data retrieval, and a recursive method for obtaining parent IDs, enabling interactive navigation of multi‑level locations.

Dynamic LoadingJavaScriptLayui
0 likes · 5 min read
Dynamic Category Loading with Layui and ThinkPHP 5.1
php Courses
php Courses
Apr 8, 2021 · Backend Development

Simplifying Validation in ThinkPHP with an AOP‑Style BaseValidate Class

This tutorial explains how to reduce repetitive validation code in a ThinkPHP project by creating a reusable BaseValidate class that leverages AOP principles, automatically handles request data, and centralizes error handling for cleaner, more maintainable backend code.

ThinkPHPaop
0 likes · 4 min read
Simplifying Validation in ThinkPHP with an AOP‑Style BaseValidate Class
php Courses
php Courses
Apr 6, 2021 · Backend Development

How to Install ThinkPHP 6.0 Using Composer on Windows

This tutorial walks through downloading Composer, configuring a mirror, creating a ThinkPHP 6.0 project, and verifying the installation by running the built‑in server and accessing the welcome page in a browser.

ComposerThinkPHP
0 likes · 2 min read
How to Install ThinkPHP 6.0 Using Composer on Windows
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
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 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 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
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 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
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 26, 2021 · Backend Development

Understanding the ThinkPHP Db Class: Workflow and Core Methods

This article provides a detailed walkthrough of the ThinkPHP Db class, explaining its relationship with other core classes, the database configuration, and the step‑by‑step execution flow of queries, including magic methods, connection handling, and result retrieval.

BackendDBORM
0 likes · 8 min read
Understanding the ThinkPHP Db Class: Workflow and Core Methods
php Courses
php Courses
Jan 25, 2021 · Backend Development

Deep Dive into ThinkPHP Model Implementation and Save Method Execution

This article provides a comprehensive, step‑by‑step analysis of ThinkPHP's Model class, illustrating how the framework organizes model files, utilizes traits and ArrayAccess, and executes the save method—including data validation, insert/update logic, and the underlying execute routine that interacts with the database via PDO.

BackendModelORM
0 likes · 9 min read
Deep Dive into ThinkPHP Model Implementation and Save Method Execution
php Courses
php Courses
Dec 17, 2020 · Backend Development

Customizing ThinkPHP 3.2 Error Page with a Personalized Template

This guide explains how to replace ThinkPHP's default error page by adding configuration entries and creating a custom HTML template, including CSS styling and JavaScript for automatic redirects, providing a more attractive and functional error display.

Error PageHTMLJavaScript
0 likes · 6 min read
Customizing ThinkPHP 3.2 Error Page with a Personalized Template
php Courses
php Courses
Dec 16, 2020 · Backend Development

Implementing Data Validation with ThinkPHP5's Validate Class

This tutorial demonstrates how to create a ThinkPHP5 validation class, build a simple HTML form, and write a backend controller method to validate input data using scenes, providing step‑by‑step code examples for PHP developers.

ControllerFormPHP
0 likes · 3 min read
Implementing Data Validation with ThinkPHP5's Validate Class
php Courses
php Courses
Dec 14, 2020 · Backend Development

Simple API Development Example Using ThinkPHP 6.x

This article presents a step‑by‑step tutorial for PHP beginners on building a simple product‑detail API with ThinkPHP 6.x, covering front‑end HTML form, request‑side controller using cURL, and API controller that queries a database and returns JSON data.

APIBackendPHP
0 likes · 3 min read
Simple API Development Example Using ThinkPHP 6.x
php Courses
php Courses
Dec 2, 2020 · Backend Development

Implementing SMS Verification with ThinkPHP and Yunpian API

This tutorial explains how to build an SMS verification feature in a ThinkPHP application by generating codes, storing them, sending them via Yunpian's API, and validating user input, including required API parameters and controller method implementations.

APIBackendPHP
0 likes · 2 min read
Implementing SMS Verification with ThinkPHP and Yunpian API
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.

CLIComposerPHP
0 likes · 5 min read
Using topthink/think-migration for Database Migrations in ThinkPHP
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.

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

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

ComposerPHPThinkPHP
0 likes · 2 min read
Resolving Composer Dependency Issue for ThinkPHP 6.0.5: Installing think-view with the Correct PHP Version
php Courses
php Courses
Nov 9, 2020 · Backend Development

Understanding ThinkPHP Framework Execution Flow: Initialization and Debugging Techniques

This article walks through the ThinkPHP framework's initialization process, explains the underlying design patterns, shows how to trace method calls with debug_backtrace, and discusses configuration loading, container updates, debugging mode, and code redundancy, providing practical code examples for developers.

BackendFrameworkInitialization
0 likes · 14 min read
Understanding ThinkPHP Framework Execution Flow: Initialization and Debugging Techniques
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.

BackendPHPThinkPHP
0 likes · 4 min read
Implementing and Using ThinkPHP Container for Dependency Management
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.

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

BackendCachePHP
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
Open Source Tech Hub
Open Source Tech Hub
Nov 1, 2020 · Backend Development

Mastering RESTful APIs and Middleware with ThinkPHP5.1 & Casbin

This guide explains RESTful concepts, compares Casbin keyMatch functions, demonstrates Postman testing of CRUD endpoints, and shows how to integrate authentication middleware in ThinkPHP5.1, providing complete code snippets and configuration details for secure API development.

APICasbinPostman
0 likes · 4 min read
Mastering RESTful APIs and Middleware with ThinkPHP5.1 & Casbin
21CTO
21CTO
Feb 7, 2019 · Information Security

How the 'SpeakUp' Linux Backdoor Hijacks Servers and Mines Monero

A newly discovered Linux backdoor called SpeakUp, exploiting the ThinkPHP CVE‑2018‑20062 flaw, spreads via a built‑in Python script, hijacks cron for persistence, leverages multiple CVEs to compromise servers, and mines Monero, with infections concentrated in China and South America.

CVELinuxThinkPHP
0 likes · 4 min read
How the 'SpeakUp' Linux Backdoor Hijacks Servers and Mines Monero