1. Go to this page and download the library: Download robbiep/afterthedeadline 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/ */
robbiep / afterthedeadline example snippets
$atd = new \RobbieP\Afterthedeadline\Afterthedeadline(['key' => md5('<unique string>')]);
$atd->checkDocument("I started my schooling as the majority did in my area, at the local primarry school.");
# `getResults` will return an array of objects (Spelling, Grammar, Suggestion) or `false` if there were no results
$results = $atd->getResults();
# (Optionally) you can get formatted text back where the results have been wrapped with
# <span class="atd-{type}" data-suggestions="{suggestions}">word</span>
echo $atd->getFormatted();
echo $m->getFormatted()->getStylesAndScript();
$atd = new \RobbieP\Afterthedeadline\Afterthedeadline(['key' => md5('<unique string>'), 'lang' => 'de']);
# You must use 2 letter country code
$atd = new \RobbieP\Afterthedeadline\Afterthedeadline(['key' => md5('<unique string>')]);
$atd->setLanguage(\RobbieP\Afterthedeadline\Language::GERMAN);