Laravel/CodeCanyon — Templates
Copy-and-fill starters for shipping a CodeCanyon Laravel app — the four files every deploy needs, each reproduced in full with placeholders you swap for your own values. Grab one, paste it into your project, fill the [BRACKETS] and your- markers, done.
These are reference pages, not a walkthrough: no steps to follow, just the file plus a short “what to fill in” list. They pair with the setup-new playbook — the playbook tells you when each file lands; these pages give you the content.
The four starters
Section titled “The four starters”| File | Lands at | What it does |
|---|---|---|
deploy.php | project root | Zero-downtime Deployer config — preflight, smoke test, health check, rollback |
.env (×3) | each server root | One environment file per stage: local, staging, production |
.htaccess (×2) | root + /public | Apache routing, HTTPS, security headers, caching |
.gitignore | project root | Keeps secrets and installed dependencies out of git history |
Deployer (deploy.php) The zero-downtime deployer config — project block to fill in, then ship with one command.
Environments (.env) Three .env templates — local, staging, production — and the keys that change between them.
Web server & git Root + public .htaccess for Apache, plus a CodeCanyon-ready .gitignore.