使用forked Git存储库

What I've done:

  1. I've forked this GitHub repository and added some little feature.
  2. I've updated my composer.json according this answer.
  3. I've run composer update.
  4. I've got error: Class 'Thujohn\Pdf\PdfServiceProvider' not found in ~/my-project/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157.

What I have to do for avoiding error? Any advise? Thanks in advance.

UPD1

composer.json:

   {
        "name": "laravel/laravel",
        "description": "The Laravel Framework.",
        "keywords": ["framework", "laravel"],
        "license": "MIT",
        "repositories": [{
            "type":"package",
            "package": {
                "name": "mineroot/pdf-l4",
                "version":"master",
                "source": {
                    "url": "https://github.com/mineroot/pdf-l4",
                    "type": "git",
                    "reference":"master"
                }
            }
        }],
        "require": {
            "laravel/framework": "4.2.*",
            "mineroot/pdf-l4": "master"
        },
        "autoload": {
            "classmap": [
                "app/commands",
                "app/controllers",
                "app/models",
                "app/database/migrations",
                "app/database/seeds",
                "app/tests/TestCase.php"
            ]
        },
        "scripts": {
            "post-install-cmd": [
                "php artisan clear-compiled",
                "php artisan optimize"
            ],
            "post-update-cmd": [
                "php artisan clear-compiled",
                "php artisan optimize"
            ],
            "post-create-project-cmd": [
                "php artisan key:generate"
            ]
        },
        "config": {
            "preferred-install": "dist"
        },
        "minimum-stability": "dev"
    }

UPD2

my repositories array in composer.json now:

"repositories": [
    {
        "url": "https://github.com/mineroot/pdf-l4",
        "type": "git"
    }
]