PHP code example of helionogueir / filecreator
1. Go to this page and download the library: Download helionogueir/filecreator 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/ */
helionogueir / filecreator example snippets
use helionogueir\filecreator\data\ReplaceText;
$text = "Point {data:v1} to {data:v2}";
echo (new ReplaceText())->replace($text, $data);
use helionogueir\filecreator\output\ReadFile;
(new ReadFile())->read(__FILE__, true);
use helionogueir\filecreator\tool\NameGenarator;
echo NameGenarator::uniqueName();