Welcome Guest, Not a member yet? Register   Sign In
Using phpCas in CI4 (Composer install)
#2

(03-26-2024, 02:41 AM)Zeff Wrote: I'm rather new to Composer, but I believe Composer autoloading is active by default in CI4?

Yes.

It seems the phpCAS class is located in the global namespace.
https://github.com/apereo/phpCAS/blob/ma...simple.php

Try:
PHP Code:
use phpCAS

And PHP classnames are case-sensitive after all. So be careful for the case.
Reply


Messages In This Thread
Using phpCas in CI4 (Composer install) - by Zeff - 03-26-2024, 02:41 AM
RE: Using phpCas in CI4 (Composer install) - by kenjis - 03-26-2024, 05:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB