I have a controller that calls a helper class in my app/helpers directory and then that helpers calls another class within it's namespace, but it can't find that class.

So here is my controller:

```
<?php

namespace App\Controllers\Dash;

use \App\Models\SalesFlyer;
use \App\Helpers\MyPdf;

class FlyerBuilderController extends BaseController {

    public function getPdf($flyerId = null) {
        $flyer = new SalesFlyer();
        $flyerData = $flyer->getSalesFlyerName($flyerId);

        $flyerPath = public_path().'/assets/media/flyers/'.Session::get('userid').'/'.$flyerData->name.'-'.$flyerId.'.html';

        return MyPdf::downloadPdf($flyerPath, $flyerData->name);
    }
}

```

It catches MyPdf class perfectly fine. Here is MyPdf class:

```
<?php

namespace App\Helpers;

class MyPdf {

    public static function downloadPdf($filePath, $filename) {

        $client = new PdfCrowd("anthonythomas", "1ebd0d6e3ec1dfa83a6c5f3dd32906f0");

        // other code here
    }
}

```

The PdfCrowd class is within App\Helpers namespace like so:

```
<?php

namespace App\Helpers;

//
// Pdfcrowd API client.
// 
class PdfCrowd { }

```

> 
> Class 'App\Helpers\PdfCrowd' not found
> 
> 
> 

Here is my start/global.php file:

```
<?php

ClassLoader::addDirectories(array(

    app_path().'/commands',
    app_path().'/controllers',
    app_path().'/controllers/dash',
    app_path().'/controllers/dash/product',
    app_path().'/models/Product',
    app_path().'/models',
    app_path().'/database/seeds',
    app_path().'/helpers',

));

```

Then here is my composer:

```
"autoload": {
    "classmap": [
        "app/commands",
        "app/controllers",
        "app/controllers/dash",
        "app/controllers/dash/product",
        "app/models",
        "app/models/Product",
        "app/helpers",
        "app/database/migrations",
        "app/database/seeds",
        "app/tests/TestCase.php"
    ]
}

```

Any idea why I'm getting that error?..