Laravel 6 support
Opened this issue · 23 comments
its not working with laravel 6.0
a Few amendments helped me work out php artisan commands, not sure if that will help. use Illuminate\Support\Str; and change str_<> to Str::<>, Str:snake. I am still testing if that works.
almost all the Traits has this bug for laravel 6.01 release. see if this helps....
Regards
Manish
- ) Create a new Helper Directory inside app folder and create a helpers.php file and put all this function
https://github.com/ajay-ag/blog/commit/e32425323e1722fc01158c0e09925b80cb010cfd
Note : only string relented function
2.) put this code in service provider
foreach (glob(app_path().'/Helpers/*.php') as $filename){
require_once($filename);
}
For string related issues: run composer require laravel/helpers
.
https://laravel.com/docs/6.x/upgrade#helpers
The current package isn't compatible with laravel 6.
I've replaced all the string functions by Str
Helper.
You may check my repo: alaminfirdows/laravel-multi-auth
The current package isn't compatible with laravel 6.
I've replaced all the string functions byStr
Helper.You may check my repo: alaminfirdows/multi-auth
How to use the package with ur modifications?
Updated...
You may like this package, works on Laravel 6.*
alaminfirdows/laravel-multi-auth
I didn't create any package yet.
Just download/clone my repo and paste it on your vendor folder.
i did not change in package file , i have create separate file put the necessary functions
I didn't create any package yet.
Just download/clone my repo and paste it on your vendor folder.
Hello. Hesto/multi-auth can't be downloaded with Laravel 6.
- How can I download it on Laravel 6?
- How can I download ur modifications?
Regards
Hello. Hesto/multi-auth can't be downloaded with Laravel 6.
- How can I download it on Laravel 6?
- How can I download ur modifications?
Regards
Updated...
You may like this package, works on Laravel 6.*
alaminfirdows/laravel-multi-auth
Step 1: Install Through Composer
composer require hesto/multi-auth
Step 2: Download my modification from alaminfirdows/multi-auth
Step 3: Go to vendor folder of your project and past the files.
Thanks.
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
Then install hesto
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/helpersThen install hesto
I'll try it if the previous way didnt work. Thanks
Hello. Hesto/multi-auth can't be downloaded with Laravel 6.
- How can I download it on Laravel 6?
- How can I download ur modifications?
RegardsStep 1: Install Through Composer
composer require hesto/multi-auth
Step 2: Download my modification from alaminfirdows/multi-auth
Step 3: Go to vendor folder of your project and past the files.
Thanks.
Copy files to which folder? plz
Is there a direct way to send u some details with u, email for example?
Regards
Updated...
Dear all,
You may like this package, works on Laravel 6.*
alaminfirdows/laravel-multi-auth
The actual problem was string functions not exist on Laravel 6, I replaced it by Str Helper.
On my package, customized folders, and namespaces also.
This is no fix for this particular package.
But I have a similar multi-auth package that supports Laravel versions 5.3 to 6.x
https://github.com/mtvbrianking/multi-auth
You might wanna try it.