Closed aqshah20 closed 4 months ago
Hi @aqshah20 , Which laravel version you use?
Hello @MohmmedAshraf,
Thank you for your quick response. I was trying to install it on Laravel 9 but encountered an issue. It seems I need to upgrade my Laravel version.
Laravel 10/11 needed
Yes, I have upgraded now working fine to me
At login and after adding phrases, and publishing on every POST request, I am encountering a 419 CSRF token error. I have currently disabled CSRF in my Kernel file, but I am still experiencing this issue.
When attempting to use the package, I encounter an error due to an incompatible declaration of the toArray method in Outhebox\TranslationsUI\Http\Resources\PhraseResource. The error message is as follows:
Declaration of Outhebox\TranslationsUI\Http\Resources\PhraseResource::toArray(Illuminate\Http\Request $request) must be compatible with Illuminate\Http\Resources\Json\JsonResource::toArray($request)