PHP code example of otifsolutions / php-sentiment-analysis

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

    

otifsolutions / php-sentiment-analysis example snippets


   Sentiment::make()->analyze($value);
   

    Sentiment::make()->analyze('She is famous, but she hates others.');
  

composer