Skip to content

Instantly share code, notes, and snippets.

View dominosaurs's full-sized avatar

🍕 dominosaurs

  • Indonesia
View GitHub Profile

My Laravel Envoy Deployment Script

This gist provides a minimal Laravel deployment setup using Composer as the single entry point, with Envoy treated as a setup-time dependency.

The deployment flow is intentionally simple: build the frontend locally, deploy only the final frontend assets, then update and optimize the Laravel backend on the production server.

This keeps the deployment model explicit, predictable, and infrastructure-light while remaining flexible enough for both local and automated deployments.

Usage

1. .editorconfig

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space