1. Go to this page and download the library: Download knevelina/prolite 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/ */
knevelina / prolite example snippets
use Knevelina\Prolite\Display;
$display = new Display(1);
use Knevelina\Prolite\Models\Graphic;
$graphicsBank = $display->getGraphicsBank();
$graphicsBank->setGraphic(0, new Graphic('RGYB...'));
$display->getPageBank()->setPage(0, 'Hello, world! <BA>');
$graphicsBank->getGraphic(0);
$graphicsBank->getGraphic(1); // Returns the default graphic at index 1.
use Knevelina\Prolite\DisplayText;
$display->getPageBank()->setPage(0, sprintf('%sPoof!', DisplayText::DISPLAY_APPEAR));
use Knevelina\Prolite\DisplayText;
$display->getPageBank()->setPage(0, sprintf('%sThat is very bold of you.', DisplayText::format(false, false, true)));
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.