Closed ali-mhz closed 5 years ago
See your composer.json in require
section, and look for morilog/jalali
dependency. If does not exists just add "morilog/jalali": "v2.*" and run
composer update` in your command line
my composer.json has
"morilog/jalali": "3.*",
and get same error
There is not any ServiceProvider from v3. Please read the documentations.
In the documentation in your website you wrote serviceprovider. سپس فایل config/app.php رو باز کرده و مقادیر زیر رو در آرایههای خودشون قرار میدیم:
@peymanator اون مال خیلی وقت پیشه و ورژن قبلی. بعد بلاگ من که مرجع داکیومنتیشن نیست خود ریپازیتوری توضیحات در رابطه با نصب و استفاده هر ورژن جداگونه داره
updated from v2 to v3 and get same error
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'Morilog\Jalali\JalaliServiceProvider' not found vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php
remove Morilog\Jalali\JalaliServiceProvider::class from app.php
Hi I'm using laravel 5.4 to develop an app, when i run:
php artisan optimize
i got this error:just to mention that i cloned my project and run this that at the end when it want to optimize i got the above error
composer install --no-dev