Skip to content

Commit 4cb4c9c

Browse files
authored
Merge pull request #812 from crazywhalecc/sponsor-badge
Add special sponsors
2 parents 9190335 + 4e24478 commit 4cb4c9c

File tree

8 files changed

+46
-4
lines changed

8 files changed

+46
-4
lines changed

README-zh.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
**static-php-cli**是一个用于静态编译、构建 PHP 解释器的工具,支持众多流行扩展。
1111

12-
目前 static-php-cli 支持 `cli``fpm``embed``micro` SAPI。
12+
目前 static-php-cli 支持 `cli``fpm``embed``micro``frankenphp` SAPI。
1313

1414
**static-php-cli**也支持将 PHP 代码和 PHP 运行时打包为一个文件并运行。
1515

@@ -292,6 +292,12 @@ bin/spc micro:combine my-app.phar -I "memory_limit=4G" -I "disable_functions=sys
292292

293293
你可以在 [我的个人赞助页](https://github.com/crazywhalecc/crazywhalecc/blob/master/FUNDING.md) 支持我和我的项目。你捐赠的一部分将会被用于维护 **static-php.dev** 服务器。
294294

295+
**特别赞助商**:
296+
297+
<a href="https://beyondco.de/"><img src="/docs/public/images/beyondcode-seeklogo.png" width="300" alt="Beyond Code Logo" /></a>
298+
299+
<a href="https://nativephp.com/"><img src="/docs/public/images/nativephp-logo.svg" width="300" alt="NativePHP Logo" /></a>
300+
295301
## 开源协议
296302

297303
本项目采用 MIT License 许可开源,下面是类似的项目:

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
**static-php-cli** is a powerful tool designed for building static, standalone PHP runtime
1111
with popular extensions.
1212

13-
Static PHP built by **static-php-cli** supports `cli`, `fpm`, `embed` and `micro` SAPI.
13+
Static PHP built by **static-php-cli** supports `cli`, `fpm`, `embed`, `micro` and `frankenphp` SAPI.
1414

1515
**static-php-cli** also has the ability to package PHP projects
1616
along with the PHP interpreter into one single executable file.
@@ -317,6 +317,12 @@ Now there is a [static-php](https://github.com/static-php) organization, which i
317317

318318
You can sponsor me or my project from [GitHub Sponsor](https://github.com/crazywhalecc). A portion of your donation will be used to maintain the **static-php.dev** server.
319319

320+
**Special thanks to sponsors below**:
321+
322+
<a href="https://beyondco.de/"><img src="/docs/public/images/beyondcode-seeklogo.png" width="300" alt="Beyond Code Logo" /></a>
323+
324+
<a href="https://nativephp.com/"><img src="/docs/public/images/nativephp-logo.svg" width="300" alt="NativePHP Logo" /></a>
325+
320326
## Open-Source License
321327

322328
This project itself is based on MIT License,

docs/.vitepress/config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export default {
4747
nav: [],
4848
socialLinks: [
4949
{icon: 'github', link: 'https://github.com/crazywhalecc/static-php-cli'}
50-
]
50+
],
51+
footer: {
52+
message: 'Released under the MIT License.',
53+
copyright: 'Copyright © 2023-present crazywhalecc'
54+
}
5155
}
5256
}

docs/.vitepress/theme/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import DefaultTheme from 'vitepress/theme'
33
import {inBrowser, useData} from "vitepress";
44
import {watchEffect} from "vue";
5+
import './style.css';
56

67
export default {
78
...DefaultTheme,
@@ -13,4 +14,4 @@ export default {
1314
}
1415
})
1516
}
16-
}
17+
}

docs/.vitepress/theme/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** override default styles */
2+
.vp-sponsor-grid-image {
3+
max-height:36px !important;
4+
max-width: 1000px !important;
5+
}
6+

docs/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,16 @@ features:
2121
- title: Dependency Management
2222
details: static-php-cli comes with dependency management and supports installation of different types of PHP extensions.
2323
---
24+
25+
<script setup>
26+
import {VPSponsors} from "vitepress/theme";
27+
const sponsors = [
28+
{ name: 'Beyond Code', img: '/images/beyondcode-seeklogo.png', url: 'https://beyondco.de/' },
29+
{ name: 'NativePHP', img: '/images/nativephp-logo.svg', url: 'https://nativephp.com/' },
30+
];
31+
</script>
32+
33+
## Special Sponsors
34+
35+
<VPSponsors :data="sponsors"/>
36+
28.7 KB
Loading

docs/public/images/nativephp-logo.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)