1- # 🏗 PHP Auto Autoloader
1+ <div align =" center " >
2+
3+ ![ Melabuai Logo] ( https://raw.githubusercontent.com/prod3v3loper/syntaxo/master/img/icon-MB.png " Melabuai Brand ")
24
35![ Language] ( https://img.shields.io/github/languages/top/prod3v3loper/php-auto-autoloader.svg?style=flat " Language ")
46[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/90539baa57ba4ea1beb8451090f42547 )] ( https://www.codacy.com/app/prod3v3loper/php-auto-autoloader?utm_source=github.com& ; utm_medium=referral& ; utm_content=prod3v3loper/php-auto-autoloader& ; utm_campaign=Badge_Grade )
1012![ MIT License] ( https://img.shields.io/github/license/prod3v3loper/php-auto-autoloader.svg?style=flat " MIT License ")
1113[ ![ Website] ( https://img.shields.io/website-up-down-green-red/https/www.tnado.com/open-source-projects-by-prod3v3loper.svg?style=flat " Website ")] ( https://www.tnado.com/open-source-projects-by-prod3v3loper/ " Website ")
1214
15+ ** melabuai**
16+
17+ # 🏗 PHP Auto Autoloader
18+
1319With this autoloader, you do not need any more, no matter where you have a master in your root, the autoloader of MB tnado Ai will find it.
1420[ Theme Page of this Site] ( https://prod3v3loper.github.io/php-auto-autoloader/ )
1521
1622# Usage
1723
24+ </div >
25+
1826Instantiate your classes, interfaces, traits or even abstract classes, no matter where.
1927The only thing you have to do is to integrate.
2028
@@ -122,9 +130,12 @@ new \Aautoloder\Loader(array(MBT_DOCUMENT_ROOT));
122130 </body >
123131</html >
124132```
133+ <div align =" center " >
125134
126135# Debug
127136
137+ </div >
138+
128139` autoload/core.config.php `
129140
130141Set this to false so that you no longer see the debugging
@@ -137,8 +148,12 @@ Look at which classes where were found.
137148define('MBT_DEBUG_DISPLAY_AUTOLOAD_SEARCH', true);
138149```
139150
151+ <div align =" center " >
152+
140153# Root
141154
155+ </div >
156+
142157The complete path is the directory path, that the autoloader get by self.
143158
144159DEFAULT: ` MBT_DOCUMENT_ROOT `
@@ -150,8 +165,12 @@ define('MBT_SERVER_ROOT', str_replace(MBT_DOCUMENT_ROOT, '', str_replace(filter_
150165define('MBT_HTTP_ROOT', get_protocol() . get_host() . MBT_SERVER_ROOT);
151166```
152167
168+ <div align =" center " >
169+
153170# Loader methods
154171
172+ </div >
173+
155174The autoloader finds everything yourself you do not have to do anything except write your class and instanzieren and use.
156175
157176Method | Namespace (Instance) | Path | Load Time
@@ -216,6 +235,8 @@ Type | Sample | Description
216235PATH | ` /users/username/projects/sites/website/ ` | MBT_DOCUMENT_ROOT
217236Then the result example | ` /users/username/projects/sites/website/testclasses/classThree.php ` |
218237
238+ <div align =" center " >
239+
219240# Information
220241
221242[ tnado SEO & AMP CMS] ( https://www.tnado.com/ ) , this autoloader is one of parts from Framework.
@@ -233,3 +254,5 @@ possible.
233254# License
234255
235256[ MIT] ( https://github.com/prod3v3loper/php-auto-autoloader/blob/master/LICENSE )
257+
258+ </div >
0 commit comments