PHP code example of maize-tech / laravel-celi-search
1. Go to this page and download the library: Download maize-tech/laravel-celi-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/ */
maize-tech / laravel-celi-search example snippets
return [
/*
|--------------------------------------------------------------------------
| Base url
|--------------------------------------------------------------------------
|
| Here you may specify the full base url used to perform update and destroy
| requests to the Celi Search backoffice.
|
*/
'base_url' => env('CELI_BASE_URL'),
/*
|--------------------------------------------------------------------------
| Search base url
|--------------------------------------------------------------------------
|
| Here you may specify the full base url used to perform search queries.
|
*/
'search_base_url' => env('CELI_SEARCH_BASE_URL'),
/*
|--------------------------------------------------------------------------
| Project name
|--------------------------------------------------------------------------
|
| Here you may specify the name of the project defined in Celi Search.
|
*/
'project' => env('CELI_PROJECT'),
/*
|--------------------------------------------------------------------------
| Searchable models
|--------------------------------------------------------------------------
|
| Here you may specify the list of fully qualified class names of
| searchable models.
|
*/
'searchables' => [
// \App\Models\User::class,
],
];
$celiSearch = new Maize\CeliSearch();
echo $celiSearch->echoPhrase('Hello, Maize!');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.