Issue
Installed the bllim/laravel4-datatables-package yesterday and having no end of problems. I wonder if anyone has experienced the same?
I added to require-dev in composer.json,
"bllim/datatables": "dev-master",
In git bash I ran the following, all successful:
$ composer update
$ php artisan config:publish bllim/datatables
It returned - Configuration published for package : bllim/datables
The fun bit came when I added the following to app/config/app.php
'providers' => array(
...
'Bllim\Datatables\DatatablesServiceProvider',
),
'aliases' => array(
...
'Datatables' => 'Bllim\Datatables\Facade\Datatables',
),
This subsequently breaks my site completely returning the error:
Symfony\Component\Debug\Exception\FatalErrorException …/vendor/laravel/framework/src/Illuminate/Translation/Translator.php8
Solution
You should run the following command after adding a package:
composer dump
If that doesn't help, try changing the "minimum-stability"
from "dev"
to "stable"
in your composer.json
file and run composer update
again.
Answered By - lowerends
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.