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
7
7
[ ![ Latest Stable Version] ( https://poser.pugx.org/nette/php-generator/v/stable )] ( https://github.com/nette/php-generator/releases )
8
8
[ ![ License] ( https://img.shields.io/badge/license-New%20BSD-blue.svg )] ( https://github.com/nette/php-generator/blob/master/license.md )
9
9
10
+
11
+ Introduction
12
+ ------------
13
+
10
14
Generate PHP code, classes, namespaces etc. with a simple programmatical API.
11
15
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:
13
23
14
24
```
15
25
composer require nette/php-generator
16
26
```
17
27
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)
19
31
20
32
21
- Examples
22
- --------
33
+ Usage
34
+ -----
35
+
36
+ Usage is very easy. Let's start with a straightforward example of generating class:
23
37
24
38
``` php
25
39
$class = new Nette\PhpGenerator\ClassType('Demo');
You can’t perform that action at this time.
0 commit comments