1. Go to this page and download the library: Download khalyomede/php-typo 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/ */
bash
khalyomede@ubuntu:~/programming/php-typo$ ./vendor/bin/php-typo check
Getting config...
Config found (0.08 ms.). Getting file list...
File list found with 1 files to scan (0.26 ms.). Scanning...
public/index.php:3
variable "gretingMessage" contains an unknown word "greting".
public/index.php:5
variable "gretingMessage" contains an unknown word "greting".
Total typos 2
Total files 1
Time spent 125.94 ms.
Memory used 98.18 MB
json
[
"greting",
"php"
]
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.