Home > PHP Framework > ThinkPHP > body text

About accessing the controller from the command line in thinkphp6

藏色散人
Release: 2021-04-06 08:52:42
forward
3452 people have browsed it

The following tutorial column of thinkphp will introduce you to the command line access controller of thinkphp6. I hope it will be helpful to friends in need!

About accessing the controller from the command line in thinkphp6

##thinkphp6 accessing the controller from the command line

1. First find the request.php file

About accessing the controller from the command line in thinkphp6

2. Modify the location of request.php as follows

About accessing the controller from the command line in thinkphp6

3. Execute the controller directly on the command line

About accessing the controller from the command line in thinkphp6
About accessing the controller from the command line in thinkphp6

4. You can see the printed results

About accessing the controller from the command line in thinkphp6

##Related recommendations:
The latest 10 thinkphp video tutorials

The above is the detailed content of About accessing the controller from the command line in thinkphp6. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template