Q:

Laravel 4 autoload package not found? (Anvard oauth)

I'm simply following these instructions word by word:
    https://bitbucket.org/atticmedia/anvard
I added anvard to my dependency in autoload.json
{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "require": {
            "laravel/framework": "4.0.*",
            "atticmedia/anvard": "dev-master"
},

EDIT: changed the package name issue to the correct package: from "atticmedia-anvard": "*" to  "atticmedia/anvard": "dev-master".  (due to error in instructions on front page)
Running the command:
php composer.phar install

Returns an error of 
Could not open input file: composer.phar

So instead I run the command
composer install 

Which works just fine. EDIT:  After running composer dump-autoload, I now get this error:
 [RuntimeException]
 Error Output: PHP Fatal error:  Class 'Atticmedia\Anvard\AnvardServiceProvider' not found in /var/www/litl.it/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123

I next added 
'Atticmedia\Anvard\AnvardServiceProvider', 

to my to config/app.php (I removed the majority of the Illuminate files from the example just to save space in the example of how I inputted the new data, I didn't remove them from the actual file itself)
'providers' => array(
            'Illuminate\View\ViewServiceProvider',
            'Illuminate\Workbench\WorkbenchServiceProvider',
            'Atticmedia\Anvard\AnvardServiceProvider',
            ),

After that, here is where my problem is, I run the command
php artisan config:publish atticmedia/anvard

And I get this error:
[RuntimeException]
Error Output: PHP Fatal error:  Class 'Atticmedia\Anvard\AnvardServiceProvider' not found   in /var/www/litl.it/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123

Confused where I went wrong, can someone help please? 
EDIT:  I have tried
composer dump-autoload

Sadly it didn't fix my issue. 

A:

Try to update the composer.json requirement according to the one listed on this page: https://packagist.org/packages/atticmedia/anvard and run composer install or composer update again. 
I don't think the package is actually installed, since I doubt composer is able to find the correct package.

