osamz/quran-safahat
最新稳定版本:1.0.0
Composer 安装命令:
composer require osamz/quran-safahat
包简介
Holy Quran calculator that help to calculate pages between two Ayah.
README 文档
README
Quran Safahat
This library calculates length of Quran Clip (Makta') (مقطع) the pages from point (ayah, surah) to another.
Installation
composer require osamz/quran-safahat
Usage
$startAya = $helper->getCheckedAyaPoint("النازعات", 17); $endAya = $helper->getCheckedAyaPoint("المرسلات", 50); $clip = new QuranClip($startAya, $endAya); $quran = new QuranNaskhEdition($quranData); $quranCalculator = new QuranCalculator($quran); $clipSize = $quranCalculator->calculate($clip); echo "Pages: $clipSize->pages, and $clipSize->lines lines."; // Pages: 4, and 1 lines.
see: examples folder for detailed example.
License
Authors
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2023-03-21