I'm currently working on Laravel 4. I have added the following to my composer.json, and ran the update:
"require": {
...
"koraktor/steam-condenser": "*"
The package: https://packagist.org/packages/koraktor/steam-condenser
The issue I'm having is that if I call one of the classes it uses, for example:
$steamUser = new SteamId('000000000000000000');
echo "Welcome, " . $steamUser->getNickname() . "<br />";
I get the error Class 'SteamId' not found
If I manually require the file needed, then it works perfectly:
require_once('/home/path-to-laravel/laravel/vendor/koraktor/steam-condenser/lib/steam-condenser.php');
I've ran composer dump-autoload
and still doesn't work. Does anyone know why this is? It's really frustrating me :(