subfission / cas

Simple CAS Authentication for Laravel 5 - 10.
MIT License
151 stars 70 forks source link

Issue while implementing cas in Laravel 9 #107

Closed MFranklinJ closed 2 years ago

MFranklinJ commented 2 years ago

I'm trying to implement this cas in Laravel 9. my code for installing cas is $ composer require "subfission/cas":"4.1.0" When trying with this command I'm getting the below error.

Problem 1

Please let me know whether my command is correct or not. If not please guide me with right one. If right then guide me to sort this issue out.

MFranklinJ commented 2 years ago

Can I get the response for my above clarification ASAP?

ikram749 commented 2 years ago

any update for these issues?

MFranklinJ commented 2 years ago

Since I dont get any response from the author, I started using Laravel 8. Its working well with Laravel 8.

nasrulhazim commented 2 years ago

@MFranklinJ , can use from my repo - #106

timcortesi commented 2 years ago

@nasrulhazim can you add your repo to packagist so we can use with composer?
https://packagist.org/packages/subfission/cas

desyashasyi commented 2 years ago

@MFranklinJ , can use from my repo - #106

How to use your repo in establish Subfission CAS?

nasrulhazim commented 2 years ago

@MFranklinJ , can use from my repo - #106

How to use your repo in establish Subfission CAS?

Add the following in your composer.json:

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/nasrulhazim/cas"
    }
]

and update the package version to:

"subfission/cas": "dev-master",

Then run composer update.

Click here for reference.

subfission commented 2 years ago

Laravel 9 requires illuminate/support v9. You just needed to add v9 to composer. Laravel 8 uses v8 which is why that worked.