Перейти до вмісту
PHP Ecosystem
Explore

Installation

Цей контент ще не доступний вашою мовою.

HTML Helper is framework-agnostic and requires PHP 8.3 or newer and the mbstring extension.

Terminal window
composer require ui-awesome/html-helper:^0.7

Load the application’s Composer autoloader and use the UIAwesome\Html\Helper namespace. No Yii framework, frontend build, JavaScript assets, or service configuration is required.

<?php
declare(strict_types=1);
require __DIR__ . '/vendor/autoload.php';
use UIAwesome\Html\Helper\Encode;
echo '<p>' . Encode::content('<Hello>') . '</p>';
// <p>&lt;Hello&gt;</p>

Consult usage examples, testing, and AI assistance for the next steps.