Hesto/multi-auth

Call to undefined function Hesto\MultiAuth\Commands\Traits\str_singular()

Opened this issue · 3 comments

Hi,
I am trying to use Hesto/multi-auth package on fresh laravel 6 installation but when I run command
php artisan multi-auth:install admin -f I get following error: Call to undefined function Hesto\MultiAuth\Commands\Traits\str_singular()

I don't understand what's happening. Please help me.

Thank you.

I think you can try this
All str_ and array_ helpers have been moved to the new laravel/helpers Composer package and removed from the framework. If desired, you may update all calls to these helpers to use the Illuminate\Support\Str and Illuminate\Support\Arr classes. Alternatively, you can add the new laravel/helpers package to your application to continue using these helpers:

composer require laravel/helpers

merci ça fonctionne maintenant