PHP code example of lostfocus / jf2
1. Go to this page and download the library: Download lostfocus/jf2 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/ */
lostfocus / jf2 example snippets
php
$entry = new Lostfocus\Jf2\Utility\Entry();
$entry->setUrl('https://example.com');
echo json_encode($entry, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR);