Skip to content

a Laravel Number to Speech package for Persian language

License

Notifications You must be signed in to change notification settings

sharha65/persian-nts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persian Number to Speech

a Laravel Number to Speech package for Persian language

Usage

use Dena\PersianNTS\PersianNTS;

$audio = (new PersianNTS)
    ->setNumber(1000)
    ->toToman()
    ->mergeInfront(storage_path('front.mp3'))
    ->mergeBehind(storage_path('behind.mp3'))
    ->getSpeech()
    ->setSavePath(storage_path('temp.mp3'))
    ->save()
    ->getSavePath();

return response()->file($audio, [
    "Content-Type" => "audio/mpeg"
]);

About

a Laravel Number to Speech package for Persian language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%