Missing namespace from composer library |
06-12-2022, 08:55 AM
(This post was last modified: 06-12-2022, 03:14 PM by MarvinKleinMusic. Edit Reason: Fixed bbcode )
Hi everyone,
I'm new to CodeIgniter and I'm testing around with it right now. According to the docs, libraries from composer should be loaded automatically. https://codeigniter4.github.io/CodeIgnit...oader.html I've run this composer command to add a Steam login library. Code: composer require vikas5914/steam-auth:1.* Code: Class "App\Controllers\Vikas5914\SteamAuth" not found The according line in my project is the object creation from SteamAuth: Code: $steam = new Vikas5914\SteamAuth($config); Do I'll need to register the namespaces from the package somewhere? The library itself is shown within the vendor folder. Thanks! |
Messages In This Thread |
Missing namespace from composer library - by MarvinKleinMusic - 06-12-2022, 08:55 AM
RE: Missing namespace from composer library - by kenjis - 06-12-2022, 04:30 PM
RE: Missing namespace from composer library - by MarvinKleinMusic - 06-13-2022, 03:19 PM
|