2017 © Pedro Peláez
 

library persianalize

Laravel package for normalize Persian text

image

mahdimajidzadeh/persianalize

Laravel package for normalize Persian text

  • Friday, November 17, 2017
  • by MahdiMajidzadeh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Persianalize

Persianalize use to normalize Persian input and remove arabic and other similar characters., (*1)

Install

Via Composer, (*2)

``` bash $ composer require mahdimajidzadeh/persianalize, (*3)


If you do not run Laravel 5.5 (or higher), then add the service provider in config/app.php: ``` php MahdiMajidzadeh\Persianalize\PersianalizeServiceProvider:class

If you do run the package on Laravel 5.5+, package auto-discovery takes care of the magic of adding the service provider., (*4)

Usage

``` php $result = Persian::numbers_fa('123٤٥٦'); // return ۱۲۳۴۵۶, (*5)

$result = Persian::numbers_en('۱۲۳٤٥٦'); // return 123456, (*6)

$result = Persian::text('ي ڲ ڬ'); // return ی گ ک, (*7)

$result = Persian::persian($text); // make texts and numbers Persian, (*8)

$result = Persian::standard($text); // make texts Persian and numbers English ```, (*9)

Change log

Please see CHANGELOG for more information on what has changed recently., (*10)

The Versions

17/11 2017

dev-master

9999999-dev https://github.com/MahdiMajidzadeh/Persianalize

Laravel package for normalize Persian text

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel persian normalize

16/10 2017

dev-analysis-zRb6Y9

dev-analysis-zRb6Y9 https://github.com/MahdiMajidzadeh/Persianalize

Laravel package for normalize Persian text

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel persian normalize

15/10 2017

0.1

0.1.0.0 https://github.com/MahdiMajidzadeh/Persianalize

Laravel package for normalize Persian text

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel persian normalize