-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could you please release a Laravel 7 compatible version #154
Comments
+1 |
@vesper8 Если вам срочно нужно использовать этот пакет с Laravel 7 используйте форк |
@cvaize could you submit a PR please? |
@vesper8 I am frontend developer =) Используйте версии подобранные мною в composer.json и замените все функции |
@cvaize your fork doesn't works its give me : |
@alqabali Send a screenshot of the error. |
@cvaize why did you replace the
These helpers |
Has anyone resolved this? Seems like last update was long time ago? |
Thanks Dmitry |
@cvaize I'm also getting |
@cvaize I got the problem, it was because the Laravel TranslationServiceProvider is deferred, so, the extended class is deferred also. this package tries to set it as non-deferred, but that is not connected with the $defer variable anymore, instead of that, it now depends on an interface you must implement called DeferredProvider. I'm working on a fix for this. |
@sergeymirakyan if you install https://github.com/laravel/helpers then it will fix that problem
|
i installed it, i use Str class in other places in my project but i still
get that error, and also when i run getPublish function i get Class
'Vsch\TranslationManager\Classes\PathTemplateResolver' not found this error
…On Wed, Nov 18, 2020 at 3:44 PM C-Bass ***@***.***> wrote:
@sergeymirakyan <https://github.com/sergeymirakyan> if you install
https://github.com/laravel/helpers then it will fix that problem
composer require laravel/helpers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDMT6FKRMVM3JAVDVBCZPTSQOXS3ANCNFSM4LCS2GAA>
.
--
Best Regards,
Sergey Mirakyan
Co-Founder & CTO CODEIDEA, LLC,
Co-Founder & CTO INSTAWASH, LLC,
Mobile:+37491304002
Skype:+37491304002
|
@vesper8 thanks i solved that, but another issue when i use getPublish function i get Class 'Vsch\TranslationManager\Classes\PathTemplateResolver' not found this error, it used to work in old version |
@sergeymirakyan I don't use |
@vsch when i use getPublish function i get Class 'Vsch\TranslationManager\Classes\PathTemplateResolver' not found it used to work in old version |
@cvaize on your fork there is one issue on Manager.php line 16 you use Vsch\TranslationManager\Classes\PathTemplateResolver |
@sergeymirakyan You can try my fork too, or better yet fork it yourself. The only thing I changed in my fork is changed the composer.json to make it compatible with Laravel 7.. nothing else is different. I personally am not a fan of forks that change the namespace everywhere.. very messy and useless.. maybe these people just don't know how to fork |
@vesper8 seems your fork is fine, how can i try that? |
@sergeymirakyan In your composer.json add
Then lower, in your repositories add
So if you don't currently have any custom repositories then you would add
You should also read https://snippets.khromov.se/composer-use-your-own-fork-for-a-package/ But this is not always true, what I just showed you above will work for my fork and it will work on Laravel 7, but not on Laravel 8 BUT, you should fork it yourself. You can fork the main repository and add your own changes, or you can fork my fork. But depending on another user's fork is a bad idea because I can delete it / change it at any time and it would break your project |
@vsch pretty please : )
this is one of the only dependencies holding me back from upgrading right now
many thanks!
The text was updated successfully, but these errors were encountered: