New to Laravel

I'm new to the Laravel Ecosystem and also attempting to move to full time Linux. Are there any solid tutorials/articles on getting Laravel up and running on Ubuntu that doesn't use Docker?
18 Replies
tuto1902
tuto19023w ago
Have you tried Laravel Herd? Although I don't know if there's a Linux version
esparkman
esparkman3w ago
Yep. I'm running Herd on my macbook and my Windows laptops I was just trying to get a solid install of Laravel running natively on Linux as well 🙂 I also use WSL2 with Windows
tuto1902
tuto19023w ago
do you need to have multiple local sites or are you happy with localhost:8000?
esparkman
esparkman3w ago
multiple sites would be nice but not a requirement
tuto1902
tuto19023w ago
do you prefer Apache or Ngnix
esparkman
esparkman3w ago
nginx
tuto1902
tuto19023w ago
🤣 do you need a minute to think about it?
tuto1902
tuto19023w ago
How To Install and Configure Laravel with Nginx on Ubuntu 22.04 (LE...
Laravel is an open-source PHP framework that provides a set of tools and resources to build modern PHP applications. With a complete ecosystem leveraging its…
tuto1902
tuto19023w ago
it's a bit old but it can give you a headstart
esparkman
esparkman3w ago
Awesome I'll read through this
tuto1902
tuto19023w ago
I wouldn't worry about MySQL to get started. SqlLite is good enough
esparkman
esparkman3w ago
I've been jumping on the SQLite train, even on my Rails projects 🙂
tuto1902
tuto19023w ago
and I would recommend getting the Laravel installer instead of using composer for new projects https://laravel.com/docs/11.x/installation#creating-a-laravel-project
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
esparkman
esparkman3w ago
That's what I have been looking for! specifically for the native linux install nice! thanks
tuto1902
tuto19023w ago
No problem. If you hit a roadblock or have any questions, just hit me up.
esparkman
esparkman3w ago
will do Do I need to add something to my path after installing the laravel installer got it Herd does soooo much for you lol
tuto1902
tuto19023w ago
Yeah. Definitely a blessing. Although I sometimes wonder if that’s making me lazy(er) 🤷🏻‍♂️
esparkman
esparkman3w ago
Double edged sword