Adldap2 / Adldap2-Laravel

LDAP Authentication & Management for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel 9 Support

inuru opened this issue · comments

  • Laravel Version: 9.0
  • Adldap2-Laravel Version: 6.1
  • PHP Version: 8.1
  • LDAP Type: ActiveDirectory

Description:

Add support for laravel 9

Steps To Reproduce:

Change composer.json to require "laravel/framework": "^7.0"

got error

Problem 1
- Conclusion: don't install laravel/framework v9.0.0-beta.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.4 (conflict analysis result)
- illuminate/support[v5.6.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
- adldap2/adldap2-laravel[v6.1.2, ..., v6.1.5] require illuminate/support ~5.5|~6.0|~7.0|~8.0 -> satisfiable by illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev].
- adldap2/adldap2-laravel[v6.1.0, ..., v6.1.1] require illuminate/support ~5.5|~6.0|~7.0 -> satisfiable by illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev].
- Only one of these can be installed: illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
- Root composer.json requires adldap2/adldap2-laravel ^6.1 -> satisfiable by adldap2/adldap2-laravel[v6.1.0, ..., v6.1.5].

Hi @inuru,

Once it comes out of beta I will update the composer.json 👍

Is it support laravel 9 ??

Is it support laravel 9 ??

Yes. I use it on my upgraded laravel 9 and it work perfectly

thank you

Is it support laravel 9 ??

Yes. I use it on my upgraded laravel 9 and it work perfectly

I did not find the LoginController .php in the laravel 9 structure.
for this:

public function username()
{
return 'username';
}

How did you make it work?

I did not find the LoginController .php in the laravel 9 structure. for this:

public function username() { return 'username'; }

How did you make it work?

LoginController was removed since Laravel 7. It will generated automatically when you install laravel/ui package https://github.com/laravel/laravel/commit/b5bb91fea79a3bd5504cbcadfd4766f41f7d01ce

LoginController was removed since Laravel 7. It will generated automatically when you install laravel/ui package

Yes, but how do I resolve item 12 of the documentation in order to proceed?
https://adldap2.github.io/Adldap2-Laravel/#/auth/introduction

plase add support php 8