abdullahobaid/arabicnumbers

A package to fix arabic numbers input

dev-master 2017-09-16 18:58 UTC

This package is auto-updated.

Last update: 2024-11-05 04:48:15 UTC


README

A Laraval Package to convert Arabic numerals (٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩) from any user input to a numeric value.

Table of Contents

Features

This plugin proccess all inputs using a middleware and convert any arabic numerals input to a number ٢ will become 2. The problem often happen with arabic inputs from Apple Devices (iphone, ipad, Mac's ...etc).

Installation

Install with composer by running composer require abdullahobaid/arabicnumbers:dev-master
Composer will download and install the package.

That's it :)

That's it ! now any user input will go through a custom middleware to replace any arabic numerals to its numeric value

License

Waqf General Public Licens

Essentials