Home > Article > Backend Development > thinkphp autoload namespace custom namespace, thinkphpautoload_PHP tutorial
In the process of using thinkPHP, some custom class libraries and third-party class libraries need to find a suitable location to place them. The system's default org folder is not very good and destroys thinkPHP's native directory.
I looked at the official manual and found that the namespace of the class library can be customized in the module or application configuration file.
However, one thing to note when using it is that your custom namespace name needs to correspond to your folder name and cannot be changed.
Then test it