Skip to content
Eric®
Portfolio & Journal中文

Work / DevTools · Vue · PHP

StackForge CLI

Full-stack project scaffolding tool — one command generates Vue frontend + backend API + Docker config, letting teams stand on best practices from day one.

Type
CLI Tool
Language
Python + Shell
License
MIT
Status
Active
Index
No. 15
Concept visualization from the original site

Why StackForge?

Every new project requires scaffolding from scratch — choosing frameworks, configuring ESLint, setting up CI/CD, writing Dockerfiles, managing environment variables... This repetitive work consumes valuable development time.

StackForge CLI encapsulates these best practices into composable templates, generating production-grade project skeletons with a single command. Supporting Vue + PHP/Python tech stacks, it auto-generates frontend project structure, backend API templates, Docker configuration, and CI/CD pipelines.

With 20+ built-in project templates covering Vue + Flask, Vue + Spring Boot, Vue + PHP Laravel and other mainstream development scenarios. The core engine is written in Python with a YAML-based template system for flexibility and extensibility.

▸ Python▸ Vue▸ PHP▸ Docker▸ JavaScript▸ YAML▸ Git▸ Shell

Core Technology

StackForge uses a lightweight architecture with Python core + Shell helpers, YAML-based template system, and support for custom template extensions.

Design Philosophy

🧩
Vue Project Templates
Built-in Vue 2/3 project templates with auto-generated component structure, routing, state management, and TypeScript support — ready to use out of the box.
🚀
API Scaffolding
Supports PHP Laravel, Python Flask/FastAPI, Java Spring Boot and other backend templates, auto-generating RESTful API skeletons and database models.
🐳
Docker Configuration
Auto-generates Dockerfile and docker-compose.yml with separate dev and prod configurations, built-in health checks and resource limits.
🔌
CI/CD Templates
Built-in GitHub Actions and GitLab CI templates for auto-generated test, build, and deployment pipelines with multi-environment support.

Impact

+ Templates
20
Downloads
2000
GitHub Stars
50
Satisfaction %
95

Quick Start

A single command initializes a complete Vue + PHP full-stack project. StackForge interactively guides you through tech stack selection and automatically generates all configuration files.

terminal
$ pip install stackforge
$ stackforge init my-app --template vue-laravel

⚡ StackForge v1.2.0
✓ Scaffolding Vue 3 project structure...
✓ Generating Laravel API backend...
✓ Creating Docker configuration (dev + prod)
✓ Setting up GitHub Actions CI/CD

🎉 Project ready!
   cd my-app && docker-compose up -d
stackforge.config.yaml
name: my-app
template: vue-laravel
frontend:
  framework: vue3
  typescript: true
  pinia: true
backend:
  framework: laravel
  database: mysql
  auth: jwt
devops:
  docker: true
  ci: github-actions
Next project — 01Civilization Z