Skip to content

Commit 5af4012

Browse files
committed
Merge branch '0.3.x-dev'
2 parents dcdd106 + 0d81a95 commit 5af4012

File tree

6 files changed

+40
-38
lines changed

6 files changed

+40
-38
lines changed

README.md

Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# PHPer
22

3-
[![crates](https://img.shields.io/crates/v/phper?style=flat-square)](https://crates.io/crates/phper)
4-
[![docs](https://img.shields.io/docsrs/phper?style=flat-square)](https://docs.rs/phper)
3+
[![CI](https://github.com/jmjoy/phper/actions/workflows/ci.yml/badge.svg)](https://github.com/jmjoy/phper/actions/workflows/ci.yml)
4+
[![Crates](https://img.shields.io/crates/v/phper)](https://crates.io/crates/phper)
5+
[![Docs](https://img.shields.io/docsrs/phper)](https://docs.rs/phper)
6+
[![Lines](https://img.shields.io/tokei/lines/github/jmjoy/phper)](https://github.com/jmjoy/phper)
7+
[![License](https://img.shields.io/crates/l/phper)](https://github.com/jmjoy/phper/blob/master/LICENSE)
58

69
## Rust ❤️ PHP
710

@@ -16,37 +19,27 @@ A library that allows us to write PHP extensions using pure Rust and using safe
1619

1720
### Tested Support
1821

19-
**os**
20-
21-
- [x] linux
22-
- [ ] macos
23-
- [ ] windows
24-
25-
**php**
26-
27-
*version*
28-
29-
- [x] 7.0
30-
- [x] 7.1
31-
- [x] 7.2
32-
- [x] 7.3
33-
- [x] 7.4
34-
- [x] 8.0
35-
36-
*mode*
37-
38-
- [x] nts
39-
- [ ] zts
40-
41-
*sapi*
42-
43-
- [x] cli
44-
- [x] fpm
45-
46-
*debug*
47-
48-
- [x] disable
49-
- [ ] enable
22+
- **OS**
23+
- [x] linux
24+
- [ ] macos
25+
- [ ] windows
26+
- **PHP**
27+
- **version**
28+
- [x] 7.0
29+
- [x] 7.1
30+
- [x] 7.2
31+
- [x] 7.3
32+
- [x] 7.4
33+
- [x] 8.0
34+
- **mode**
35+
- [x] nts
36+
- [ ] zts
37+
- **sapi**
38+
- [x] cli
39+
- [x] fpm
40+
- **debug**
41+
- [x] disable
42+
- [ ] enable
5043

5144
## Usage
5245

@@ -105,7 +98,7 @@ pub fn get_module() -> Module {
10598
6. Build and install, if your php isn't installed globally, you should specify the path of `php-config`.
10699

107100
```bash
108-
# Specify if php isn't installed globally.
101+
# Optional, specify if php isn't installed globally.
109102
export PHP_CONFIG = <Your path of php-config>
110103

111104
# Build libmyapp.so.

examples/hello/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Hello world example.
55
## Environment
66

77
```bash
8-
# Specify if php isn't installed globally.
8+
# Optional, specify if php isn't installed globally.
99
export PHP_CONFIG = <Your path of php-config>
1010
```
1111

examples/http-client/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
Http client example.
44

5+
Power by [reqwest::blocking](https://docs.rs/reqwest/0.11.4/reqwest/blocking/index.html) api.
6+
57
## Environment
68

79
```bash
8-
# Specify if php isn't installed globally.
10+
# Optional, specify if php isn't installed globally.
911
export PHP_CONFIG = <Your path of php-config>
1012
```
1113

examples/http-server/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
Http server example.
44

5+
Power by [tokio](https://crates.io/crates/tokio) and [hyper](https://crates.io/crates/hyper).
6+
57
## Environment
68

79
```bash
8-
# Specify if php isn't installed globally.
10+
# Optional, specify if php isn't installed globally.
911
export PHP_CONFIG = <Your path of php-config>
1012
```
1113

examples/logging/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Log example.
55
## Environment
66

77
```bash
8-
# Specify if php isn't installed globally.
8+
# Optional, specify if php isn't installed globally.
99
export PHP_CONFIG = <Your path of php-config>
1010
```
1111

phper-test/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ once_cell = "1.5.2"
2020
phper-macros = { version = "0.3.0", path = "../phper-macros" }
2121
tempfile = "3.1.0"
2222
tokio = { version = "1.7.0", optional = true }
23+
24+
[package.metadata.docs.rs]
25+
rustdoc-args = ["--cfg", "docsrs"]
26+
all-features = true
27+

0 commit comments

Comments
 (0)