1. Go to this page and download the library: Download abstract/core 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/ */
use Abstract\AbstractCore;
use Abstract\Emitter\HtmlEmitter;
use Abstract\Mapper\HtmlElementMapping;
use Abstract\Mapper\HtmlMapper;
use Abstract\Render\RenderTarget;
$core = AbstractCore::default()->withRenderTarget(
'html',
RenderTarget::make(
HtmlMapper::make()->element('input', HtmlElementMapping::tag('x-input')),
new HtmlEmitter(),
),
);
bash
composer test
php benchmarks/core-benchmark.php
php benchmarks/markup-benchmark.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.