1- To support arabic language you have to install the file "ara.traineddata" on your computer "C:\Program Files\Tesseract-OCR\tessdata" the link for this file is "https://tesseract-ocr.github.io/tessdoc/Data-Files"
2- To install tessereact wraper on the project run the commande: "composer require thiagoalessio/tesseract_ocr"
3- after that you have to use "use thiagoalessio\TesseractOCR\TesseractOCR;" in the Controller
4- i've imported source code from ingeneer mouadh's github: https://github.com/muath-gh/ocr_arabic/tree/main