Skip to content

Commit d7db98f

Browse files
authored
[php] Add Leaf 3.3 (#8347)
* [php] Add Leaf 3.3 * Add link in readme
1 parent 44617c0 commit d7db98f

11 files changed

+2737
-0
lines changed

frameworks/PHP/leaf/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<p align="center">
2+
<img src="https://leafphp.dev/logo-circle.png" height="100"/>
3+
</p>
4+
5+
https://leafphp.dev/
6+
7+
Leaf is a PHP framework that helps you create clean, simple but powerful web apps and APIs quickly and easily. Leaf introduces a cleaner and much simpler structure to the PHP language while maintaining it's flexibility. With a simple structure and a shallow learning curve, it's an excellent way to rapidly build powerful and high performant web apps and APIs.
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"framework": "leaf",
3+
"tests": [{
4+
"default": {
5+
"plaintext_url": "/plaintext",
6+
"json_url": "/json",
7+
"port": 8080,
8+
"approach": "Realistic",
9+
"classification": "Micro",
10+
"database": "MySQL",
11+
"framework": "leaf",
12+
"language": "PHP",
13+
"flavor": "PHP8",
14+
"orm": "Raw",
15+
"platform": "FPM/FastCGI",
16+
"webserver": "nginx",
17+
"os": "Linux",
18+
"database_os": "Linux",
19+
"display_name": "leaf",
20+
"notes": "",
21+
"versus": "php"
22+
},
23+
"workerman": {
24+
"plaintext_url": "/plaintext",
25+
"json_url": "/json",
26+
"port": 8080,
27+
"approach": "Realistic",
28+
"classification": "Micro",
29+
"database": "MySQL",
30+
"framework": "leaf",
31+
"language": "PHP",
32+
"flavor": "PHP8",
33+
"orm": "Raw",
34+
"platform": "workerman",
35+
"webserver": "none",
36+
"os": "Linux",
37+
"database_os": "Linux",
38+
"display_name": "leaf-workerman",
39+
"notes": "",
40+
"versus": "php"
41+
}
42+
}]
43+
}

frameworks/PHP/leaf/composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"leafs/leaf": "^3.3"
4+
}
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#zend_extension=opcache.so
2+
opcache.enable=1
3+
opcache.enable_cli=1
4+
opcache.validate_timestamps=0
5+
opcache.save_comments=0
6+
opcache.enable_file_override=1
7+
opcache.huge_code_pages=1
8+
9+
mysqlnd.collect_statistics = Off
10+
11+
memory_limit = 512M
12+
13+
opcache.jit_buffer_size = 128M
14+
opcache.jit = tracing
15+
16+
disable_functions=header,header_remove,headers_sent,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,set_time_limit

0 commit comments

Comments
 (0)