Skip to content
Arjay Angeles edited this page May 20, 2015 · 2 revisions

Install through composer

composer require yajra/laravel-datatables-oracle:~5.0

For Laravel 4 users, checkout L4 branch or use composer require yajra/laravel-datatables-oracle:~3.0.

Register provider and alias and publish configuration

Once the package was downloaded, open "config/app.php" and register the provider and alias of the package:

    'providers' => [
        ...
        'yajra\Datatables\DatatablesServiceProvider',
    ],

    'aliases' => [
        ...
        'Datatables'      => 'yajra\Datatables\Datatables',
    ],

Finally you need to publish a configuration file by running the following Artisan command.

$ php artisan vendor:publish --provider="yajra\Datatables\DatatablesServiceProvider"
// or simply run below to publish all vendor's config files
$ php artisan vendor:publish
Clone this wiki locally