Laravel: Arabic content display issue in the pdf

1. Use the mpdf library. In laravel use package https://github.com/niklasravnsborg/laravel-pdf
2. Use the font-family: “XB Riyaz” with dir=”rtl” attributes