Home  >  Article  >  PHP Framework  >  How to rename thinkphp module

How to rename thinkphp module

尚
forward
2020-05-29 09:08:133199browse

How to rename thinkphp module

thinkphp module rename, how to do it. For example, the We module is changed to You module

The steps are as follows:

We module: (case sensitive)

1. Modify the namespace of Controller and model to You

2. Replace all We\ links with You\

3. Replace all We/ links with You/

4. Replace all We@ with You@

5. Replace all we/ with You/

6. Replace all we\ with You\

Recommended tutorial: "TP5

The above is the detailed content of How to rename thinkphp module. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete
Previous article:thinkphp model definitionNext article:thinkphp model definition