PHP code example of octoberfa / virastar

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

    

octoberfa / virastar example snippets



echo virastar("فارسي را كمی درست تر می نويسيم");
// Outputs: "فارسی را کمی درست‌تر می‌نویسیم"

virastar("سلام 123" ,["fix_english_numbers":false]);
// Outputs:"سلام 123"