I'm using Laravel 4 and I want to use a third party package within this framework. I did this to install it:
1) Add package name to composer.json file
2) Run composer update
command
Now I have package available in /vendors folder. My question is, how to use it inside the Laravel now?
Looking in the config/app.php file, I can not add it to "providers" array as far as I can see, nor "aliases".
When I try to instantiate that package class directly in controller I get the error "Class not found" ( I tried full name to the class: $pack = new /vendor/package.../class.php
)
Any help on how to include and use the class in the laravel greatly appreciated