1. Go to this page and download the library: Download wiki-connect/parsewiki library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wiki-connect / parsewiki example snippets
use WikiConnect\ParseWiki\ParserCategorys;
$parser = new ParserCategorys($wikitext);
$parser->parse();
print_r($parser->getCategorys());
use WikiConnect\ParseWiki\ParserCitations;
$parser = new ParserCitations($wikitext);
$parser->parse($parser->getCitations());
use WikiConnect\ParseWiki\ParserInternalLinks;
$parser = new ParserInternalLinks($wikitext);
$parser->parse($parser->getLinks());
use WikiConnect\ParseWiki\ParserExternalLinks;
$parser = new ParserExternalLinks($wikitext);
$parser->parse($parser->getLinks());
use WikiConnect\ParseWiki\ParserTemplate;
$parser = new ParserTemplate($wikitext);
$parser->parse($parser->getTemplate());
use WikiConnect\ParseWiki\ParserTemplates;
$parser = new ParserTemplates($wikitext);
$parser->parse($parser->getTemplates());
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.