PHP code example of wyster / yamsa

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

    

wyster / yamsa example snippets




use Yamsa\Factory\Analyzer;

essage = <<<TEXT
Пароль: 7740
Спишется 234,18р.
Перевод на счет 41001247739481
TEXT;

print_r($analyzer->run($message)); //=> Yamsa\Entity Object