1. Go to this page and download the library: Download italix/encode 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/ */
italix / encode example snippets
use Italix\Encode\Html as H;
<h1><?= H::e($title)
$lint = new Lint(
['/^\$view->get\(/', '/^\$form_html->/'], // allow list
['php'], // extensions
[\Italix\I18n\T::class => ['e', 'choice_e']] // other things that encode
);
foreach ($lint->check_paths(['src/Views', 'src/Themes']) as $finding) {
printf("%s:%d: %s\n", $finding['file'], $finding['line'], $finding['expression']);
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.