Download the PHP package helturkey/arabic-prosody without Composer

On this page you can find all versions of the php package helturkey/arabic-prosody. 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 arabic-prosody

PHP Arud

Dependency-free Arabic prosody (ʿarūḍ) for PHP 8.1+: from vocalized Arabic text to the binary scansion, then rule-based meter detection for a hemistich, a verse, a whole poem, or a free-verse line, with foot-by-foot explanations. العربية

Status: 1.0.0-rc.1. Engineering is production-grade (typed, validated, tested, bounded). The linguistic grammar is a faithful encoding of the textbook rules but has not been reviewed by a prosody scholar, and the regression corpus is small (15 verses, 6 meters). Read RELEASE_STATUS.md before relying on it for anything beyond assistance.

Install

Use

Every candidate carries key, label_ar (e.g. «أحذ الكامل»), match_type (exact | compatible | approximate), tier, modifications, ambiguous_with, tasri, and feet — one row per foot with its role (hashw/arud/darb), the rule applied (e.g. القبض) and a status (ok, broken, missing, extra_bits).

CLI

What it does well, and what it does not

Quality gates

Performance (PHP 8.3, laptop-class CPU): ≈0.7 ms per verse when an exact parse exists; ≈5 ms with the bounded approximate fallback; a 500-verse poem in ≈0.4 s, ≈12 MB.

Security & limits

Inputs are validated (UTF-8, ≤ 2000 bytes per hemistich, ≤ 2000 verses, ≤ 2 MB total). The library itself does no eval, filesystem or network access. See SECURITY.md.

Source:

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

License

MIT. See THIRD_PARTY_NOTICES.md.


All versions of arabic-prosody with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-pcre Version *
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/arabic-prosody contains the following files

Loading the files please wait ...