Skip to content

Commit d4c3ee3

Browse files
committed
readme: added installation notice
1 parent b8ebfe7 commit d4c3ee3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,16 @@ require_once 'Utils/Paginator.php';
2626
```
2727

2828
Like the Google robot crawls and indexes websites, RobotLoader crawls all PHP scripts and records what classes and interfaces were found in them.
29-
These records are then saved in cache and used during all subsequent requests. You just need to specifiy what directories to index and where to save the cache:
29+
These records are then saved in cache and used during all subsequent requests. You just need to specifiy what directories to index and where to save the cache.
30+
31+
Install it using Composer:
32+
33+
```
34+
composer require nette/robot-loader
35+
```
36+
37+
It requires PHP version 5.6 or newer (is compatible with PHP 7.0 and 7.1).
38+
3039

3140
```php
3241
$loader = new Nette\Loaders\RobotLoader;

0 commit comments

Comments
 (0)