3li3bdalla/tafqeet 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

3li3bdalla/tafqeet

最新稳定版本:4.0.1

Composer 安装命令:

composer require 3li3bdalla/tafqeet

包简介

convert numbers into arabic words

README 文档

README

😎 What Is Tafqeet

Tafqeet is php script that help you to integrate payments and receipts document inside your project by convert amout into arabic words , it help you to add this words to any thing you want

⬇️ Installtion

very easy just use composer to get it

$ composer require 3li3bdalla/tafqeet

now everything is ready to work

🔨 Uses

<?php

use AliAbdalla\Tafqeet\Core\Tafqeet;

$arablic = Tafqeet::arablic(900000.34);

echo $arablic;

you should get result like that

فقط تسعمائة ألف ريال و أربعة و ثلاثون هللة لاغير

also you can specify currency in socend param defult is sar

Tafqeet::arablic(30, 'usd');

here we spacify the currency you can put any other currecnry as you want like sdg

also you can add new currency

just open src/core/Tafqeet.php

you will see this code

public $config = [
    'connection_tool' => ' و',
    'default_currency' => 'sar',
    'starter'=>'فقط',
    'end'=>'لاغير',
    'currencies' => [
        'sar' => [
            'main1'=>'ريال',
            'main2'=>'ريالاً',
            'single'=>'هللة',
            'multi'=>'هللات'
        ],

        'sdg' => [
            'main1'=>'قرش',
            'main2'=>'قرشاً',
            'single'=>'قرش',
            'multi'=>'قروش'
        ],

        'usd' => [
                'main1'=>'دولار',
            'main2'=>'دولاراً',
            'single'=>'سنت',
            'multi'=>'سنت'
        ],


    ],

];

add any currecny you want to currencies array

🧐 Note

this script work untill 999999.99

统计信息

  • 总下载量: 1.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固