Skip to content

Instantly share code, notes, and snippets.

View zainphp's full-sized avatar

Zain Adam zainphp

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

@zainphp
zainphp / lint.md
Last active January 23, 2026 08:18

1. .editorconfig

root = true

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