Answer the question
In order to leave comments, you need to log in
How to install infyom on Laravel 6?
I'm trying to put the INFYOM generator on Laravel 6 CRUD.
The generator itself seems to work. But when I try to go to the model page in the admin, it turns out that
Class 'Yajra\DataTables\Services\DataTable' not found
Conclusion: remove laravel/framework v6.16.0
Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\ServiceProvider
Answer the question
In order to leave comments, you need to log in
Sad 2 days...
https://github.com/InfyOmLabs/laravel-generator/is...
in general, this class is only used in stubs, so you need to install the latest versions, read the documentation, and if you need to edit the stubs.
In general, it turned out that the problem is solved by installing the "yajra/laravel-datatables-buttons" package,
adding Yajra\DataTables\ButtonsServiceProvider::class in the providers
and then php artisan vendor:publish --tag=datatables-buttons --force
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question