PHP code example of visual-ideas / scout-phpmorphy

1. Go to this page and download the library: Download visual-ideas/scout-phpmorphy 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/ */

    

visual-ideas / scout-phpmorphy example snippets


return [

    'table_prefix' => 'phpmorphy_',

    'min_word_length' => 2,

];

$scoutPhpmorphy = new VI\ScoutPhpmorphy();
echo $scoutPhpmorphy->echoPhrase('Hello, VI!');
bash
php artisan vendor:publish --tag="scout-phpmorphy-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="scout-phpmorphy-config"
bash
php artisan vendor:publish --tag="scout-phpmorphy-views"