I’ve been looking for a workflow like this. Have you ever looked at Laravel Forge and Envoyer? You can see tutorials on laracasts.com. I may try to use forge and envoyer with bedrock somehow. It can work for general php apps, doesn’t need to be Laravel.
@kalenjohnson and I have both used Bedrock with Forge. Forge is pretty cool. I haven’t yet looked at Envoyer.
Nice thing is forge is $10/month, envoyer is $10/month.
Tutorials on laracasts:
(I’m not affiliated with laravel or laracasts in any way, just a huge fan.)
Then it’s also $5-10 or more for the Digital Ocean droplet
I like Forge a lot, it’s great to set up a project easily, especially for staging sites. I’ve had a subscription almost since it was released.
Envoyer I’m not so excited about. Mostly because it doesn’t offer much from what I can see over Capistrano, other then a nice GUI.
How do you guys use something like laravel forge with trellis? Do you allow forge to provision the server or trellis does the provisioning?
cc @ben
You would use it instead of trellis. You can use it to provision and deploy from github similar to trellis. You can use Bedrock and/or Sage with Forge. If you go to laracasts.com there are probably some free videos and discussion/comments that will help you figure it out. The vagrant equivalent of Forge is Homestead.
I use both Forge and Envoyer with my Bedrock sites and it works great. I wrote a really simple WP CLI package to invoke an Envoyer deploy. https://github.com/brightoak/wp-cli-envoyer
Yes, Envoyer works with any non Laravel app. I use it to deploy my PHP apps, whether it is built on Symfony or any other. The process of deploying PHP apps using Envoyer is explained here: https://www.cloudways.com/blog/php-laravel-envoyer-deployment/