Skip to content

Commit 6d74cf6

Browse files
committed
Update README.md
1 parent 903a981 commit 6d74cf6

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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&amp;utm_medium=referral&amp;utm_content=prod3v3loper/php-auto-autoloader&amp;utm_campaign=Badge_Grade)
@@ -10,11 +12,17 @@
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+
1319
With 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+
1826
Instantiate your classes, interfaces, traits or even abstract classes, no matter where.
1927
The 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

130141
Set this to false so that you no longer see the debugging
@@ -137,8 +148,12 @@ Look at which classes where were found.
137148
define('MBT_DEBUG_DISPLAY_AUTOLOAD_SEARCH', true);
138149
```
139150

151+
<div align="center">
152+
140153
# Root
141154

155+
</div>
156+
142157
The complete path is the directory path, that the autoloader get by self.
143158

144159
DEFAULT: `MBT_DOCUMENT_ROOT`
@@ -150,8 +165,12 @@ define('MBT_SERVER_ROOT', str_replace(MBT_DOCUMENT_ROOT, '', str_replace(filter_
150165
define('MBT_HTTP_ROOT', get_protocol() . get_host() . MBT_SERVER_ROOT);
151166
```
152167

168+
<div align="center">
169+
153170
# Loader methods
154171

172+
</div>
173+
155174
The autoloader finds everything yourself you do not have to do anything except write your class and instanzieren and use.
156175

157176
Method | Namespace (Instance) | Path | Load Time
@@ -216,6 +235,8 @@ Type | Sample | Description
216235
PATH | `/users/username/projects/sites/website/` | MBT_DOCUMENT_ROOT
217236
Then 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

Comments
 (0)