Im trying to work with ai on my project in Laravel. Most of them are a bit outdated, so if I want some scheduling they suggest using kernel.php in app/Console.
I did some research and kernel.php file is now hidden somewhere in new Laravel versions. Whats the alternative of using kernel?
In laravel 11, kernel.php
is no longer present and these are handled through the bootstrap/app.php
file.
Task schedule is done in routes/console.php
in laravel 11.
For more detailed information you can check this link and official documentation.
https://laravel-news.com/laravel-11-directory-structure#:~:text=The%20Kernel.,php%20file.
Also check the release note of the laravel 11 here..
https://laravel.com/docs/11.x/releases
I hope it will help you.