Download the PHP package helturkey/mosab-qafya-detector without Composer

On this page you can find all versions of the php package helturkey/mosab-qafya-detector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mosab-qafya-detector

Mosab Qafya Detector

Mosab Qafya Detector is a PHP-first package for Arabic qafya detection. It extracts the core rhyme letter (rawi), qafya components such as radf, wasl, khurooj, taasis, and dakhiil, and provides poem-level analysis with diagnostics, clusters, defects, sanad, and review flags.

This is a production-ready machine-assisted qafya detector. It is not a replacement for human scholarly verification in ambiguous poems.


Installation


Quick Usage


Analyze a Poem


Laravel

Publish config:


API


Poem-Level Policy

The public poem-level qafya identity is based on rawi.

The package separates:


Quality


Documentation


Known Limitations

Arabic qafya often needs context. Undiacritized poetry, ambiguous final haa, extra noon forms, and multi-section poems may require human review. The package exposes status, defects, sanad, clusters, and endings so applications can decide whether a result is authoritative or needs review.


Why the package is named Mosab

The name Mosab was chosen because it carries a direct poetic and historical meaning in Arabic culture.

In Arabic, مُصعب suggests strength, firmness, and the ability to handle difficult matters. This fits the package because Arabic qafya detection is not a simple “last-letter” problem. It requires dealing with complex endings, ambiguous letters, weak letters, haa, radf, wasl, khurooj, taasis, dakhiil, and poem-level context.

The name also echoes the spirit of classical Arabic poetry: concise, strong, and rooted in Arabic language heritage.

So the package name reflects its purpose:

In short, Mosab Qafya Detector means a serious Arabic-first tool built to handle one of the most difficult parts of Arabic poetry analysis: the qafya.

لماذا اخترنا اسم مصعب للحزمة؟

اخترنا اسم مُصعب لأنه اسم عربي قصير، واضح، وله إيحاء مناسب لطبيعة الحزمة.

فالقافية العربية ليست مسألة سهلة يمكن حلّها بالنظر إلى آخر حرف فقط. تحليل القافية يحتاج التعامل مع حالات دقيقة مثل: الروي، الردف، الوصل، الخروج، التأسيس، الدخيل، الهاء، حروف العلة، والألف المقصورة، مع مراعاة سياق القصيدة لا الكلمة وحدها.

واسم مُصعب في العربية يوحي بالقوة والصلابة والقدرة على معالجة الأمور الصعبة، وهذا يناسب هدف الحزمة: بناء أداة عربية جادة تستطيع التعامل مع صعوبة القافية لا تبسيطها تبسيطًا مخلًا.

كما أن الاسم يحمل طابعًا عربيًا أصيلًا، ويبتعد عن الأسماء التقنية العامة، ليبقى قريبًا من مجال الشعر واللغة العربية.

باختصار، اسم Mosab Qafya Detector يعني:

لذلك كان اسم مُصعب اختيارًا مناسبًا لحزمة تهدف إلى تحليل واحد من أصعب أبواب الشعر العربي: القافية.

Source:

This package started as part of the core qafya analysis work behind موسوعة الشعراء, then became open source to help Arabic poetry developers, researchers, and linguists.


All versions of mosab-qafya-detector with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package helturkey/mosab-qafya-detector contains the following files

Loading the files please wait ...