PHP code example of deminy / jieba-php

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

    

deminy / jieba-php example snippets




ieba\Jieba;

var_dump((new Jieba())->cut("怜香惜玉也得要看对象啊!"));
bash
composer