Laravel 5.2 Class not found but class is there with namespace
<p><strong>UPDATE 01/26/16 10:30pm EST:</strong> Through a lot of Google searching I discovered that I was misunderstanding how to utilize namespaces and custom classes.  If anyone else is having this issue read this tutorial: <a href="http://www.techigniter.in/tutorials/how-to-add-custom-class-in-laravel-5/" rel="noreferrer">http://www.techigniter.in/tutorials/how-to-add-custom-class-in-laravel-5/</a>
It's short and very easy to understand.  It helped resolve this issue and move me along to my next error... :D</p>

<p><strong>ISSUE:</strong>
Attempting to freshly install Laravel 5 and convert my Laravel 4 code to Laravel 5.</p>

<p><strong>REQUEST:</strong> Please help me find the error and provide detailed instructions on how to correct it.</p>

<p><strong>ERROR:</strong>
FatalErrorException in additionalPCs.php line 4:
Class 'App\Library\AdditionalPCs\additionalComputer' not found</p>

<p><strong>Notes:</strong> I have put the additionalComputer.php file in both its own directory App\Libary\additionalPCs and directly into the App\Libary directory.  Both places produce the same error.  I am using namespaces. (possibly incorrectly)</p>

<p><strong>Composer.json</strong></p>

<pre><code>"autoload": {
    "classmap": [
        "database"
    ],
    "psr-4": {
        "App\\": "app/"
    }
},
</code></pre>

<p><strong>IndexController.php</strong></p>

<pre><code>&lt;?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Library\additionalPCs;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    Protected $layout = 'master';
    /**
     * Display a listing of the resource.
     *
     * @return Response
     */
    public function index()
    {
        /** Wayne - 03-02-2014 - Moved for loop to a method within its own class. */
        $numberofpcs = new additionalPCs();
        $addtpcs=$numberofpcs-&gt;display();
        $this-&gt;layout-&gt;content = View::make('index')-&gt;with('addtpcs', $addtpcs)-&gt;with('businesstypelist', businesstype::dropdown())-&gt;with('contracttermlist',ContractTerm::dropdown());
    }
}
</code></pre>

<p><strong>additionalPCs.php</strong></p>

<pre><code>&lt;?php
namespace App\Library;

class additionalPCs extends additionalComputer {
    public function display() {
        return $this-&gt;displayMenu();    
    }
}
</code></pre>

<p><strong>additionalComputer.php</strong> (I have also attempted  use App\Library\additionalComputer;)</p>

<pre><code>&lt;?php
namespace App\Library;

use App\Library\AdditionalPCs\additionalComputer;

class additionalPCs extends additionalComputer {
    public function display() {
        return $this-&gt;displayMenu();    
    }
}
</code></pre>