File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,33 @@ Nette PHP Generator
77[ ![ Latest Stable Version] ( https://poser.pugx.org/nette/php-generator/v/stable )] ( https://github.com/nette/php-generator/releases )
88[ ![ License] ( https://img.shields.io/badge/license-New%20BSD-blue.svg )] ( https://github.com/nette/php-generator/blob/master/license.md )
99
10+
11+ Introduction
12+ ------------
13+
1014Generate PHP code, classes, namespaces etc. with a simple programmatical API.
1115
12- Usage is very easy. Install it using Composer:
16+ Documentation can be found on the [ website] ( https://doc.nette.org/php-generator ) .
17+
18+
19+ Installation
20+ ------------
21+
22+ The recommended way to install is via Composer:
1323
1424```
1525composer require nette/php-generator
1626```
1727
18- The last stable release requires PHP version 5.6 or newer (is compatible with PHP 7.0 and 7.1). The dev-master version requires PHP 7.0.
28+ - v2.6 requires PHP 5.6 or newer (is compatible up to 7.2)
29+ - v3.0 requires PHP 7.0 or newer (is compatible up to 7.2)
30+ - v3.1 requires PHP 7.1 or newer (is compatible up to 7.2)
1931
2032
21- Examples
22- --------
33+ Usage
34+ -----
35+
36+ Usage is very easy. Let's start with a straightforward example of generating class:
2337
2438``` php
2539$class = new Nette\PhpGenerator\ClassType('Demo');
You can’t perform that action at this time.
0 commit comments