PHP code example of fractal512 / meilisan

1. Go to this page and download the library: Download fractal512/meilisan 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/ */

    

fractal512 / meilisan example snippets


php artisan meilisearch:index <action> [<index>] [options]

php artisan meilisearch:filterable <action> <index> [<attributes>]

php artisan meilisearch:ranking <action> <index> [<attributes>]

php artisan meilisearch:sortable <action> <index> [<attributes>]

php artisan meilisearch:stopwords <action> <index> [<stopwords>]