File tree Expand file tree Collapse file tree 1 file changed +19
-15
lines changed
Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Original file line number Diff line number Diff line change 22
33## How to contribute
44
5- ```
6- update the PHP scripts in this dir
7- if ( new script ) {
8- update "./config.inc"
9- }
10- if ( new hook function ) {
11- update "/swoole_runtime.cc" (search "hook_func")
12- }
13- run "/remake_library.sh" (recompile the library)
14- ```
5+ Just new pull request (and we need unit tests for new features)
6+
7+ #### Code requirements
8+
9+ + PHP 7.1+
10+ + PSR1 and PSR2
11+ + Strict type
1512
16- then new pull request (we need unit tests for new features)
13+ ## Develop
14+
15+ + [ Document] ( https://wiki.swoole.com/wiki/page/p-library.html )
16+ + [ Examples] ( https://github.com/swoole/library/tree/master/examples )
17+
18+ ## Compatibility Patch (Swoole version <= v4.4.12)
19+
20+ ``` php
21+ define('SWOOLE_USE_SHORTNAME', true); // or false (it depends on you)
22+ ```
1723
18- ## Code requirements
24+ ## License
1925
20- 1 . PHP 7.1+
21- 2 . PSR1 and PSR2
22- 3 . Strict type
26+ Apache License Version 2.0 see http://www.apache.org/licenses/LICENSE-2.0.html
You can’t perform that action at this time.
0 commit comments