Skip to content

Commit 799c889

Browse files
committed
Initial commit
1 parent 80ad4b7 commit 799c889

File tree

11 files changed

+388
-0
lines changed

11 files changed

+388
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
composer.lock

.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php-wikitext-parser.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 221 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cache/.gitkeep

Whitespace-only changes.

composer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "divineomega/php-wikitext-parser",
3+
"description": "Parse Wikitext in PHP",
4+
"type": "library",
5+
"license": "LGPL-3.0-only",
6+
"authors": [
7+
{
8+
"name": "Jordan Hall",
9+
"email": "jordan@hall05.co.uk"
10+
}
11+
],
12+
"require": {
13+
"php": ">=7.1",
14+
"ext-json": "*",
15+
"ext-dom": "*",
16+
"divineomega/do-file-cache-psr-6": "^2.0"
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"DivineOmega\\WikitextParser\\": "src/"
21+
}
22+
}
23+
}

src/Enums/Format.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
namespace DivineOmega\WikitextParser\Enums;
4+
5+
abstract class Format
6+
{
7+
const PLAIN_TEXT = 'plain_text';
8+
const HTML = 'html';
9+
}

0 commit comments

Comments
 (0)