We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 414dc9d commit bfe4876Copy full SHA for bfe4876
.gitignore
@@ -4,4 +4,7 @@
4
/composer.phar
5
/phpunit.xml
6
/satis.phar
7
-.idea
+/.idea
8
+/satis.json
9
+/public/
10
+
README.md
@@ -1,3 +1,33 @@
1
+# 如何使用
2
+在项目根目录创建一个配置文件satis.json
3
+```json
+{
+ "name": "My Private Composer Repository",
+ "homepage": "http://your.domain.com",
+ "repositories": [
+ {
+ "type": "git",
+ "url": "https://github.com/yonh/satis.git"
11
+ }
12
+ ],
13
+ "require": {
14
+ "yonh/satis": "*"
15
+ },
16
+ "archive": {
17
+ "directory": "dist",
18
+ "format": "tar",
19
+ "skip-dev": false,
20
+ "prefix-url": "http://your.domain.com"
21
22
+}
23
+```
24
+使用命令生成生成仓库列表
25
+```bash
26
+# ./public可自定义
27
+php bin/satis build satis.json ./public
28
29
30
31
# Satis
32
33
Simple static Composer repository generator.
0 commit comments