1. Go to this page and download the library: Download baraveli/thaanalorem 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/ */
baraveli / thaanalorem example snippets
$thaana = new ThaanaLorem;
echo $thaana->word();
$thaana = new ThaanaLorem;
echo $thaana->word('p');
$thaana = new ThaanaLorem;
//with tags
//echo $thaana->words(5,'p');
echo $thaana->words(5);
$thaana = new ThaanaLorem;
echo $thaana->sentence();
$thaana = new ThaanaLorem;
echo $thaana->sentences(3);
$thaana = new ThaanaLorem;
echo $thaana->paragraph();
$thaana = new ThaanaLorem;
echo $thaana->paragraphs(2);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.