Skip to content

Commit 92d4b40

Browse files
committed
readme: updated
1 parent bf1ccc2 commit 92d4b40

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

readme.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ RobotLoader: comfortable autoloading
77
[![Latest Stable Version](https://poser.pugx.org/nette/robot-loader/v/stable)](https://github.com/nette/robot-loader/releases)
88
[![License](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://github.com/nette/robot-loader/blob/master/license.md)
99

10+
11+
Introduction
12+
------------
13+
1014
RobotLoader is a tool that gives you comfort of automated class loading for your entire application including third-party libraries.
1115

1216
- get rid of all `require`
@@ -26,16 +30,27 @@ require_once 'Utils/Paginator.php';
2630
```
2731

2832
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.
33+
These records are then saved in cache and used during all subsequent requests.
34+
35+
Documentation can be found on the [website](https://doc.nette.org/robotloader).
36+
3037

31-
Install it using Composer:
38+
Installation
39+
------------
40+
41+
The recommended way to install is via Composer:
3242

3343
```
3444
composer require nette/robot-loader
3545
```
3646

37-
It requires PHP version 5.6 or newer (is compatible with PHP 7.0 and 7.1).
47+
It requires PHP version 5.6 and supports PHP up to 7.2.
48+
49+
50+
Usage
51+
-----
3852

53+
You just need to specifiy what directories to index and where to save the cache:
3954

4055
```php
4156
$loader = new Nette\Loaders\RobotLoader;

0 commit comments

Comments
 (0)