TCPDF was created in 2002 (I think) and these days (year 2020) is being rewritten into a modern PHP application. I will describe both, but lets begin with the older version.
**Older version of TCPDF**
- https://github.com/tecnickcom/tcpdf
- https://tcpdf.org/examples/
Download it from GitHub and save it into folder
```
{projectPath}/_tcpdf
```
Into web/index.php add this:
```php
require_once('../_tcpdf/tcpdf.php');
```
Now you can use any Example to test TCPDF. For example: https://tcpdf.org/examples/example_001/
**Note:** You have to call constructor with backslash:
```php
$pdf = new \TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);