In Laravel 4 adding custom classes was quite straight forward but with changes in Laravel 5 architecture, defining and using your custom class is little bit different.In this tutorial, i will show you how to add custom class in Laravel 5
Read this post on techigniter.in