Menu

1 / 3

A Laravel project on your own dev server in 10 minutes

DEV Community: tutorial·Kim Daniel Geisthardt·18 days ago
#KH09H5ke
#devtotutorial#devto#dev#project#envoryx
Reading 0:00
15s threshold

Disclosure first: I run Envbay , a small hosted service for Envoryx. Everything below works on a self-hosted Envoryx too, I just happen to use mine.

Every time I start a Laravel thing for a client I need the same stuff before I can show anything. PHP in the right version. A database. Redis. Somewhere for mail to go that isn't a real inbox. And an https address the client can click without me explaining self-signed certificates.

Doing that by hand on a VPS costs me an afternoon, every time. For a while now I've been using Envoryx for it. It's an open-source tool that treats every environment as a "project" with its own containers and its own address. Here's the way I set up a Laravel project with it, mostly so I have it written down.

What you need

An Envoryx instance you can log in to. Self-hosted is fine, install notes are in the repo . If you don't want to run a box, see the end.

A browser.

For the IDE bit: VS Code with the "Remote - SSH" extension and an SSH key. No key?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.