PHP code example of devproblemssolutions / phptypesenseadmin
1. Go to this page and download the library: Download devproblemssolutions/phptypesenseadmin 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/ */
devproblemssolutions / phptypesenseadmin example snippets
$correctUsername = 'admin'; // CHANGE
$correctPassword = 'password'; // CHANGE
$typesenseProtocol = 'https'; // CHANGE
$typesenseApiKey = 'YOURAPIKEY'; // CHANGE
$typesenseHost = 'HOST'; // CHANGE
$typesensePort = 443; // CHANGE
sh
cp env.example.php env.php
sh
touch env.php