Manual Require Removed

This commit is contained in:
devansh bawari 2021-01-27 10:55:00 +05:30
parent 2b4ca622b4
commit 72d94b7abc
3 changed files with 763 additions and 138 deletions

View File

@ -32,7 +32,7 @@
"intervention/image": "^2.4",
"intervention/imagecache": "^2.3",
"kalnoy/nestedset": "5.0.1",
"khaled.alshamaa/ar-php": "^5.5",
"khaled.alshamaa/ar-php": "^5.5.2",
"konekt/concord": "^1.2",
"laravel/framework": "^7.0",
"laravel/scout": "^8.0",

894
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -156,10 +156,7 @@ class InvoiceController extends Controller
*/
private function adjustArabicAndPersianContent($html)
{
/* temporary require */
require_once base_path('vendor/khaled.alshamaa/ar-php/src/arabic.php');
$arabic = new \ArPHP\I18N\arabic();
$arabic = new \ArPHP\I18N\Arabic();
$p = $arabic->arIdentify($html);