12

For some years now, I have been using Laravel Homestead to quickly build up a virtual machine with all I needed installed. But it seems to not quite get the love it needs, and I'm wondering if folks have moved on to a different environment or tool for their development.

top 3 comments
sorted by: hot top controversial new old
[-] chiisana@lemmy.chiisana.net 14 points 4 months ago

The industry by and large have moved on to containers, with docker being the entry point and eventually graduating to something larger and more orchestrated like k8s.

You’d generally use a publisher container (I.e. php:latest), and then volume mount your code into it for development, and eventually baking your own image for deployment. Be mindful to not include secrets (API keys, passwords, etc.) and inject them via environment variables.

[-] shnizmuffin@lemmy.inbutts.lol 4 points 4 months ago

Hey, you should take a look at how Laradock works. I install it as a submodule when I'm working on PHP applications. Slaps the shit out of Laravel Sail and keeps the core dependencies off my OS.

[-] hperrin@lemmy.world 3 points 4 months ago

For development, I just run node on my system. I use a library called Nymph.js (that I developed) that runs on SQLite in development, then either MySQL or Postgres in production. It’s nice because I can sync my dev db with rsync when I need to test on a cloud machine, and db backups are really small and easy to manage (literally just copying a few files).

this post was submitted on 07 Jul 2024
12 points (92.9% liked)

Web Development

3430 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS