Ab-Alselwi / laravel-arabic-html

Convert laravel view to arabic html (pdf) using ArPHP and dompdf with arabic text
31 stars 11 forks source link

Error: toArabicHTML does not exist #1

Open abdo-host opened 1 year ago

abdo-host commented 1 year ago
BadMethodCallException
Method Illuminate\View\View::toArabicHTML does not exist
asp2asp commented 1 year ago

Can you share your code

shanbwp commented 1 year ago

how to pass data dynamical .means how we generate pdf dynamically

ayagaidi commented 5 months ago

Method Illuminate\View\View::toArabicHTML does not exist how fix

chemseddine201 commented 1 month ago

Method Illuminate\View\View::toArabicHTML does not exist how fix

you must run php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider"

abdo-host commented 1 month ago

Method Illuminate\View\View::toArabicHTML does not exist how fix

you must run php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider"

I am using Slim 3. It is a PHP framework

chemseddine201 commented 1 month ago

Method Illuminate\View\View::toArabicHTML does not exist how fix

you must run php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider"

I am using Slim 3. It is a PHP framework

This is a Laravel library that uses a service provider to add a macro for handling Arabic content in views. While it may not be directly compatible with Slim 3, you can apply the same logic in your own code to effectively manage Arabic content.