A comprehensive Docker container providing REST API endpoints for Arabic language processing powered by the ArPHP library. This repo is for techincal support purposes. You can download the image from this link: https://hub.docker.com/r/asc7team/arphpapi
# Pull the image
docker pull asc7team/arphpapi:latest
# Run the container
docker run -d -p 8080:80 --name arphp asc7team/arphpapi:latest
# Test the API
curl -X POST http://localhost:8080/spell-check \
-H "Content-Type: application/json" \
-d '{"text":"Ω
Ψ±ΨΨ¨Ψ§ Ψ¨ΩΩ
"}'This container provides 15+ Arabic NLP endpoints for:
- β Spell checking with intelligent suggestions (powered by Al-Mosahih ASC Open Source)
- π Sentiment analysis for Arabic content
- π£οΈ Dialect identification (MSA, Egyptian, Gulf, etc.)
- π Arabic-English transliteration (bidirectional)
- π’ Number to Arabic words with proper grammar
- β¨οΈ Keyboard layout correction (AR/EN)
- π Hijri calendar conversion and formatting
- π Prayer times calculator with Qibla direction
- π Text summarization with keyword extraction
- π€ Gender detection from Arabic names
- π Arabic-friendly SQL query generation
- π Text similarity comparison
- π΅ Arabic Soundex for phonetic matching
POST /spell-check
{"text": "ΩΨͺΨ§Ψ¨"}POST /transliterate
{"text": "marhaba", "direction": "en2ar"}POST /prayer-times
{
"latitude": 21.4225,
"longitude": 39.8262,
"timezone": 3,
"elevation": 277
}POST /spell-number
{"number": 1234, "format": "money"}- π E-commerce platforms (Arabic product search, price formatting)
- π± Mobile apps (prayer times, Islamic calendars)
- π¬ Chat applications (sentiment analysis, dialect detection)
- π° Content management (spell checking, summarization)
- π Search engines (phonetic matching, query enhancement)
- π Analytics platforms (Arabic text processing)
- Base: PHP 8.x with Apache
- Library: ArPHP - PHP Arabic library version 7.0
Full API documentation available at: http://localhost:8080/ (when container is running)
latest- Latest stable release1.0.0- Specific version
- π ArPHP
- π Al-Mosahih ASC
GNU Lesser General Public License
Made for developers building Arabic-first applications π