how can i put jquery on the laravel controller?

Solution:

You can’t use JQuery inside a controller, PHP and Javascript don’t mix like this, both of them have different roles when building a website/app.

What you can do is to use JQuery inside your blade files and use AJAX to perform calls to your controllers requesting data. After that you can use JQuery to manipulate DOM elements based on the data sent by the Laravel controllers.