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: 1 year ago
Size: 304 bytes


Class file image Download

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

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

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