Skip to content

Commit e4221c9

Browse files
committed
x
x Update readme.md Update readme.md
1 parent 7c45a88 commit e4221c9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

readme.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
RobotLoader: comfortable autoloading
2-
====================================
1+
[![RobotLoader](https://github.com/nette/utils/assets/194960/c33fdb74-0652-4cad-ac6e-c1ce0d29e32a)](https://doc.nette.org/en/robot-loader)
32

43
[![Downloads this Month](https://img.shields.io/packagist/dm/nette/robot-loader.svg)](https://packagist.org/packages/nette/robot-loader)
54
[![Tests](https://github.com/nette/robot-loader/workflows/Tests/badge.svg?branch=master)](https://github.com/nette/robot-loader/actions)
@@ -28,6 +27,8 @@ require_once 'Utils/Paginator.php';
2827
...
2928
```
3029

30+
 <!---->
31+
3132
[Support Me](https://github.com/sponsors/dg)
3233
--------------------------------------------
3334

@@ -37,6 +38,7 @@ Do you like RobotLoader? Are you looking forward to the new features?
3738

3839
Thank you!
3940

41+
 <!---->
4042

4143
Installation
4244
------------
@@ -58,6 +60,7 @@ composer require nette/robot-loader
5860

5961
It requires PHP version 8.0 and supports PHP up to 8.3.
6062

63+
 <!---->
6164

6265
Usage
6366
-----
@@ -84,6 +87,7 @@ If you want RobotLoader to skip certain directories, use `$loader->excludeDirect
8487

8588
By default, RobotLoader reports errors in PHP files by throwing a `ParseError` exception. This can be suppressed using `$loader->reportParseErrors(false)`.
8689

90+
 <!---->
8791

8892
PHP Files Analyzer
8993
------------------
@@ -117,6 +121,7 @@ $loader->refresh();
117121
$res = $loader->getIndexedClasses();
118122
```
119123

124+
 <!---->
120125

121126
Caching
122127
-------
@@ -131,6 +136,7 @@ The initial file scanning, when the cache doesn't exist yet, can naturally take
131136
This is a situation where a large number of concurrent requests on a production server would trigger RobotLoader, and since the cache doesn't exist yet, they would all start scanning files, which would overload the server.
132137
Fortunately, RobotLoader works in such a way that only the first thread indexes the files, creates the cache, and the rest wait and then use the cache.
133138

139+
 <!---->
134140

135141
PSR-4
136142
-----

0 commit comments

Comments
 (0)