File tree Expand file tree Collapse file tree 6 files changed +40
-38
lines changed Expand file tree Collapse file tree 6 files changed +40
-38
lines changed Original file line number Diff line number Diff line change 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 {
105986 . 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.
109102export PHP_CONFIG = < Your path of php-config>
110103
111104# Build libmyapp.so.
Original file line number Diff line number Diff 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.
99export PHP_CONFIG = < Your path of php-config>
1010```
1111
Original file line number Diff line number Diff line change 22
33Http 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.
911export PHP_CONFIG = < Your path of php-config>
1012```
1113
Original file line number Diff line number Diff line change 22
33Http 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.
911export PHP_CONFIG = < Your path of php-config>
1012```
1113
Original file line number Diff line number Diff 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.
99export PHP_CONFIG = < Your path of php-config>
1010```
1111
Original file line number Diff line number Diff line change @@ -20,3 +20,8 @@ once_cell = "1.5.2"
2020phper-macros = { version = " 0.3.0" , path = " ../phper-macros" }
2121tempfile = " 3.1.0"
2222tokio = { version = " 1.7.0" , optional = true }
23+
24+ [package .metadata .docs .rs ]
25+ rustdoc-args = [" --cfg" , " docsrs" ]
26+ all-features = true
27+
You can’t perform that action at this time.
0 commit comments