1. Go to this page and download the library: Download autopage/pg-search 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/ */
autopage / pg-search example snippets
// ...
'Datasources' => [
'default' => [
'className' => \Cake\Database\Connection::class,
'driver' => \Autopage\PgSearch\Database\Driver\Postgres::class,
// O restante da sua configuração vem normalmente
// ...
],
// ...