PHP Classes

File: build/generate_docs.php

Recommend this page to a friend!
  Classes of Lars Moelleken   PHP Anti XSS Filter   build/generate_docs.php   Download  
File: build/generate_docs.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Anti XSS Filter
Remove tags from HTML that may cause XSS attacks
Author: By
Last change: Update of build/generate_docs.php
Date: 2 years ago
Size: 304 bytes
 

Contents

Class file image Download
<?php

require __DIR__ . '/../vendor/autoload.php';
require
__DIR__ . '/vendor/autoload.php';

$readmeText = (new \voku\PhpReadmeHelper\GenerateApi())->generate(
   
__DIR__ . '/../src/voku/helper/AntiXSS.php',
   
__DIR__ . '/docs/base.md'
);

file_put_contents(__DIR__ . '/../README.md', $readmeText);