Jim
Jim

Reputation: 622

Installing 3rd party packages in Laravel 5.2

I am trying to install Laravel Datatables.

Ok with composer and I can see the files under vendor, but the next part of the instruction is to add this to a service provider

yajra\Datatables\DatatablesServiceProvider

Where?

I've got the bit about the route of the facade but where do I tell it about the service provider?

Upvotes: 0

Views: 35

Answers (1)

Qazi
Qazi

Reputation: 5135

you have to open your app.php file located under config/app.php there you will find provider Array, add your this line yajra\Datatables\DatatablesServiceProvider into provider array

Upvotes: 1

Related Questions