File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,28 @@ 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. In first, 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
- Examples
19
- --------
28
+ Usage
29
+ -----
30
+
31
+ Usage is very easy. Let's start with a straightforward example of generating class:
20
32
21
33
``` php
22
34
$class = new Nette\PhpGenerator\ClassType('Demo');
You can’t perform that action at this time.
0 commit comments