you can give my package a try. It runs docker so you need to install that :)
I have tested it on windows->ubuntu with wsl2
How can I setup Laravel on Windows WSL2 ? (the right way)
1- I follow these steps on this link
I am able to run a new Laravel project with php artisan serve
but If I open other existing project, I am able to open the welcome page, but when I click on any route, I get an error:
Illuminate\Routing\Exceptions\UrlGenerationException Missing required parameters for [Route: profile] [URI: profiles/{user}]. (View: /mnt/c/laragon/www/samstwitter/resources/views/_sidebar_links.blade.php)
While it's working perfectly on Laragon windows setup.
.htaccessfile in the public folder?2 - another problem is I am not able to migrate: ` Illuminate\Database\QueryException
SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' (SQL: select * from information_schema.tables where table_schema = samstwitter and table_name = migrations and table_type = 'BASE TABLE')`
I would love to see a full explanation on how to setup a dev environment on WSL2 on windows?
Please or to participate in this conversation.