File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -7,27 +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
- Requirements
19
- ------------
20
28
- v2.6 requires PHP 5.6 or newer (is compatible up to 7.2)
21
29
- v3.0 requires PHP 7.0 or newer (is compatible up to 7.2)
22
30
- v3.1 requires PHP 7.1 or newer (is compatible up to 7.2)
23
31
24
32
25
- Examples
26
- --------
27
-
28
- [ See documentation] ( https://doc.nette.org/en/php-generator ) .
33
+ Usage
34
+ -----
29
35
30
- Let's start with a straightforward example of generating class:
36
+ Usage is very easy. Let's start with a straightforward example of generating class:
31
37
32
38
``` php
33
39
$class = new Nette\PhpGenerator\ClassType('Demo');
You can’t perform that action at this time.
0 commit comments