Description
Bug description
When running this command:
php artisan multiauth:make myguard
getting this error:
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function Bitfumes\Multiauth\Console\Commands\str_plural()
Laravel Version
Laravel 6.20.9 (last LTS)
To Reproduce
Steps to reproduce the behavior:
- Install Laravel 6 (LTS):
composer create-project --prefer-dist laravel/laravel myproject "6.*"
- Install multiauth:
composer require bitfumes/laravel-multiauth
--> Version 5.5.x-dev is installed. - Launch
php artisan multiauth:make myguard
- See error
Expected behavior
The multiauth package should work with Laravel 6.
I think multiauth package should be installed in "dev-master" version on Laravel 6 or, if not possible and version 5.5.x-dev is required, it should not use Laravel helpers removed from Laravel 6 (str_plural() not present in Laravel 6).
Desktop
- OS: Windows 10
- Browser : Chrome
- Dev env: Laragon
Additional context
The multiauth package official documentation (https://bitfumes.github.io/laravel-multiauth/) is related to the dev-master branch and can't be used with Laravel 6.