Minimal vanilla PHP + vanilla JavaScript starter, built with Vite and Composer, following a simple MVC pattern.
- PHP 64.9%
- Dockerfile 19.1%
- SCSS 8.1%
- Shell 4.3%
- JavaScript 3.6%
| app | ||
| public | ||
| .gitignore | ||
| compose.yml | ||
| composer.json | ||
| console | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
php js template
Minimal vanilla PHP + vanilla JavaScript starter, built with Vite and Composer, following a simple MVC pattern.
Overview
What it is
- A lightweight starter to build server-rendered PHP apps with a modern JS dev experience.
- No framework lock-in — small, explicit, and easy to understand.
Goal
- Minimal dependencies and easy deployability to shared hosts or containers.
Technology stacks
- Backend: PHP (8.4+ recommended)
- Dependency manager: Composer
- Frontend tooling: Vite (dev server + build)
- Client: Vanilla JavaScript (ES modules)
- Pattern: Model-View-Controller