Try Yajra\DataTables\Services\DataTable
----------------^
Datatables
to DataTables
See the upgrade guide
Still not working
@waleedyounis What version are you using?
@waleedyounis were you able to install the buttons plugin?
https://github.com/yajra/laravel-datatables-buttons
https://yajrabox.com/docs/laravel-datatables/master/buttons-installation
Yes. I re-installed the plugin along with the buttons plugin and now it's working.
Thanks a lot for the help
@the94air Thanks. you are the best.
@Hamzeh-Jamalon I am glad it helped.
I'm having a same problem when using Yajra datatables with laravel 5.6. project. It gives me an error "Class 'YajraDatatables\Services\DataTable' not found"
System details
Operating System: Windows 10
PHP Version: 7.2.4
Laravel Version: 5.6.*
following the guide upgrade I have this other error in my terminal
"Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for yajra/laravel-datatables-oracle 7.0 -> satisfiable by yajra/laravel-datatables-oracle[v7.0.0].
- Conclusion: remove laravel/framework v5.6.38
- Conclusion: don't install laravel/framework v5.6.38
- yajra/laravel-datatables-oracle v7.0.0 requires illuminate/view 5.4.* -> satisfiable by illuminate/view[5.4.x-dev, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9] "
how to resolve it ????
@khaleo The package name space is not correct
Yajra\Data(t)ables\
to Yajra\Data(T)ables\
Checkout my answer above.
thk u but i don't understand.Explain plz what i have to do in my laravel project (laravel 5.6)
same error
ubuntu 16.04 version
Try
Yajra\DataTables\Services\DataTable
----------------^
Datatables
toDataTables
See the upgrade guide
Link doesn't seems to be accessible. Can you please check it?
Most helpful comment
Try
Yajra\DataTables\Services\DataTable
----------------^
Datatables
toDataTables
See the upgrade guide