Skip to content

Commit 48778ee

Browse files
committed
feat: setup
1 parent d4db7f7 commit 48778ee

File tree

5 files changed

+59
-1
lines changed

5 files changed

+59
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/*.tar

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
# dev.tkirch.wsc.graphql-php
1+
# dev.tkirch.wsc.graphql-php
2+
3+
Provides the "graphql-php" library at the WSC.
4+
5+
## Docs
6+
7+
To load the library you can use the following code:
8+
9+
```PHP
10+
require_once WCF_DIR.'lib/system/api/graphql-php/autoload.php';
11+
```
12+
13+
Everything else about graphql-php can be found in the corresponding GitHub repository at the following URL:
14+
https://github.com/webonyx/graphql-php
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"config": {
3+
"vendor-dir": "./",
4+
"prepend-autoloader": false
5+
},
6+
"require": {
7+
"graphql-php": "~14.0"
8+
}
9+
}

make.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@ECHO OFF
2+
set PATH=%PATH%;C:\Program Files\7-Zip\
3+
del dev.tkirch.wsc.graphql-php.tar
4+
del files.tar
5+
7z a -ttar -mx=9 files.tar .\files\*
6+
7z a -ttar -mx=9 dev.tkirch.wsc.graphql-php.tar .\* -x!dev.tkirch.wsc.graphql-php.tar -x!files -x!files_wcf -x!templates -x!acptemplates -x!make.bat -x!packages -x!README.md -x!.git -x!.gitignore -x!.github
7+
del files.tar

package.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<package name="dev.tkirch.wsc.graphql-php" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/package.xsd">
3+
<packageinformation>
4+
<packagename><![CDATA["graphql-php" library]]></packagename>
5+
<packagename language="de"><![CDATA["graphql-php"-Bibliothek]]></packagename>
6+
<packagedescription><![CDATA[Provides the "graphql-php" library at the WSC.]]></packagedescription>
7+
<packagedescription language="de"><![CDATA[Stellt die "graphql-php"-Bibliothek im WSC zur Verfügung.]]></packagedescription>
8+
<version>14.4.0</version>
9+
<date>2021-01-04</date>
10+
</packageinformation>
11+
12+
<authorinformation>
13+
<author><![CDATA[Titus Kirch]]></author>
14+
<authorurl><![CDATA[https://tkirch.dev]]></authorurl>
15+
</authorinformation>
16+
17+
<requiredpackages>
18+
<requiredpackage minversion="3.0.0">com.woltlab.wcf</requiredpackage>
19+
</requiredpackages>
20+
21+
<excludedpackages>
22+
<excludedpackage version="6.0.0 Alpha 1">com.woltlab.wcf</excludedpackage>
23+
</excludedpackages>
24+
25+
<instructions type="install">
26+
<instruction type="file"/>
27+
</instructions>
28+
</package>

0 commit comments

Comments
 (0)