Tag

ThinkPHP6

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jul 28, 2023 · Backend Development

Developing Stable and Reliable API Interfaces with ThinkPHP6

This tutorial explains how to design request/response structures, configure routing, implement controllers, perform parameter validation, and handle exceptions when building robust API endpoints using the ThinkPHP6 framework, complete with practical code examples.

APIBackendException Handling
0 likes · 6 min read
Developing Stable and Reliable API Interfaces with ThinkPHP6
php中文网 Courses
php中文网 Courses
Jul 6, 2023 · Frontend Development

Preventing Duplicate Form Submissions with ThinkPHP6 and Vue3

This article explains how to prevent duplicate form submissions in web applications by disabling the submit button on the Vue3 front end and using a server‑generated token in ThinkPHP6 to verify request uniqueness, providing full code examples for both sides.

BackendFrontendThinkPHP6
0 likes · 7 min read
Preventing Duplicate Form Submissions with ThinkPHP6 and Vue3
php中文网 Courses
php中文网 Courses
May 7, 2023 · Backend Development

Integrating Alibaba Cloud SMS Service with ThinkPHP6

This guide explains how to set up Alibaba Cloud SMS, configure the required Access Key ID and Secret, install the SDK, and use ThinkPHP6 to call the SMS API with sample PHP code, highlighting the steps and placeholders that must be replaced with your own credentials.

APIAlibaba CloudBackend
0 likes · 4 min read
Integrating Alibaba Cloud SMS Service with ThinkPHP6
php中文网 Courses
php中文网 Courses
May 3, 2023 · Frontend Development

Implementing Frontend‑Backend Separation with PHP (ThinkPHP6) and Vue.js

This tutorial demonstrates how to build a decoupled web application by creating RESTful APIs with PHP using ThinkPHP6 and a Vue.js frontend that consumes those APIs, covering code examples for controllers, components, routing, and integration.

Frontend‑Backend SeparationPHPThinkPHP6
0 likes · 6 min read
Implementing Frontend‑Backend Separation with PHP (ThinkPHP6) and Vue.js
php中文网 Courses
php中文网 Courses
Apr 6, 2021 · Backend Development

ThinkPHP6 Configuration and Environment Variable Setup Guide

This article explains how to work with the ThinkPHP6 config directory, rename and edit the .example.env file to .env, adjust database connection settings, and use the think\facade\Env facade to access environment variables in a PHP backend project.

BackendConfigurationDatabase
0 likes · 3 min read
ThinkPHP6 Configuration and Environment Variable Setup Guide
php中文网 Courses
php中文网 Courses
Apr 2, 2021 · Backend Development

Using volist and foreach tags for array loops in ThinkPHP6 templates

This article explains how to use ThinkPHP6's volist and foreach template tags to iterate over arrays, detailing their syntax, attributes, example PHP code, and the differences in how each tag handles variable references and output.

PHPThinkPHP6foreach
0 likes · 3 min read
Using volist and foreach tags for array loops in ThinkPHP6 templates
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
php中文网 Courses
php中文网 Courses
Feb 28, 2021 · Backend Development

Enabling Session for Captcha in ThinkPHP6 to Prevent Verification Failure

To correctly use the Captcha feature in ThinkPHP6, you must manually enable the framework’s built‑in session support, as it is disabled by default; the Captcha stores its code in the session, and without an active session verification will always fail.

PHPThinkPHP6backend development
0 likes · 2 min read
Enabling Session for Captcha in ThinkPHP6 to Prevent Verification Failure