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

How to rename thinkphp module

藏色散人
藏色散人forward
2021-02-07 15:03:212249browse

The following tutorial column will introduce to you how to rename the thinkphp module. I hope it will be helpful to friends who need it!

thinkphp module renameHow to rename thinkphp module

thinkphp module rename, how to do it. For example, the We module is changed to the 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 to You\

3. Replace all We/ links to You/

4 .Replace all We@ with You@

5. Replace all we/ with You/

6. Replace all we\ with You\

Other modules that use the We module: Repeat all the above actions.

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