Skip to content

Commit 94cf9ef

Browse files
committed
Update README.
1 parent fd3c579 commit 94cf9ef

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,19 @@ A library that allows us to write PHP extensions in pure Rust, using safe Rust w
44

55
(一个让我们可以用纯Rust写PHP扩展的库,并且尽可能使用safe Rust,同时也是一个PHP的Binding库。)
66

7-
***Now the peojct is still under development.***
7+
***Now the peojct is still under development.***
8+
9+
## Usage
10+
11+
First you have to install `cargo-generate`:
12+
13+
```bash
14+
cargo install cargo-generate
15+
```
16+
17+
Then create a PHP extension project from template:
18+
19+
```bash
20+
cargo generate --git https://github.com/jmjoy/phper-ext-skel.git
21+
```
22+

0 commit comments

Comments
 (0)