Bangkah Launcher

Dokumentasi / Features

Features

πŸš€ Zero Configuration Setup

Interactive CLI yang memandu Anda through setiap step. Tidak ada file config yang rumit atau hidden magic.

Apa yang didapat:

# Interactive mode (recommended)
php artisan bangkah:create

# Non-interactive mode (CI/CD)
php artisan bangkah:create --type=web --frontend=tailwind --docker --yes

🐳 Docker Ready

Generate lengkap Docker setup siap production:

βœ“ Dockerfile
  - PHP 8.2-FPM optimized
  - Composer dependencies cached
  - Production-grade image
  
βœ“ docker-compose.yml
  - Multi-service orchestration
  - Development overrides included
  - Health checks configured
  - Named volumes for persistence
  
βœ“ Nginx Configuration
  - Production optimization
  - FastCGI caching
  - Gzip compression
  - Static file serving
  - Security headers
  
βœ“ Database & Redis
  - MySQL 8 atau PostgreSQL 16
  - Redis caching setup
  - Adminer untuk database management
  - Automated backups ready

Mulai langsung:

docker compose up -d
# Production-ready dalam seconds

πŸ“¦ Multiple Project Templates

Web Template (Default)

Full-stack web application dengan:

php artisan bangkah:create --type=web

API Template

REST API dengan modern practices:

php artisan bangkah:create --type=api

🎨 Frontend Flexibility

Pilih frontend setup yang sesuai kebutuhan:

βœ“ Latest Tailwind CSS 3.x
βœ“ @tailwindcss/forms for form styling
βœ“ Dark mode support built-in
βœ“ Production-optimized output
βœ“ Excellent documentation
βœ“ Active community & ecosystem

Bootstrap 5

βœ“ Bootstrap 5 latest
βœ“ Bem-optimized CSS
βœ“ jQuery excluded (modern JS only)
βœ“ Bundled icons via Bootstrap icons
βœ“ Great for legacy projects

Headless / None

βœ“ API-only setup
βœ“ No frontend scaffolding
βœ“ Perfect untuk SPA/mobile apps
βœ“ Separate frontend repository

πŸ” Authentication Scaffolding

Laravel Breeze (with Tailwind)

βœ“ Clean, minimal authentication pages
βœ“ Login & Registration
βœ“ Password reset with email verification
βœ“ Email verification feature
βœ“ Tailwind-styled Forms
βœ“ CSRF protection built-in

Laravel UI (with Bootstrap)

βœ“ Bootstrap-styled authentication
βœ“ User dashboard included
βœ“ Responsive design
βœ“ Pre-built components
βœ“ Customizable scaffolding

Apa yang included:

Semua production-ready tanpa perlu manual setup.

πŸ’Ύ Database Options

MySQL 8

βœ“ Latest MySQL 8.0
βœ“ InnoDB storage engine
βœ“ Fast query performance
βœ“ Wide compatibility
βœ“ Good for most projects

PostgreSQL 16

βœ“ Advanced features (JSON, Arrays, etc)
βœ“ Better ACID compliance
βœ“ Excellent for complex queries
βœ“ Better scalability
βœ“ Open source & enterprise-ready

Otomatis configured:

⚑ Auto Build & Hot Reload

Development Mode

npm run dev
# Vite watches dan rebuilds on changes
# Browser auto-refresh dengan HMR
# Sub-second rebuild time

Production Build

npm run build
# Optimized output
# Asset minification & compression
# Tree-shaking untuk smaller bundles
# Sourcemap generation

Vite configuration:

πŸ”§ Customizable & Extensible

Bangkah bukan frameworkβ€”ini scaffolding. Setelah dijalankan:

βœ“ Semua file standard Laravel
βœ“ Edit atau extend sesuka hati
βœ“ Gunakan any Laravel package
βœ“ Tidak ada vendor lock-in
βœ“ Zero runtime dependency

Generated files:

🎯 Best Practices Built-in

Code Organization:

Security:

Performance:

Deployment:

πŸ“Š Project Statistics

Bangkah generate project dengan:

βœ“ 1 Dockerfile (optimized)
βœ“ 1 docker-compose.yml
βœ“ Full nginx config
βœ“ 2-3 Example controllers
βœ“ 2-3 Example routes
βœ“ Auth views & templates
βœ“ 1-2 Example migrations
βœ“ CSS/JS assets configured
βœ“ .env template
βœ“ README dengan setup guide

Total setup time: 2-3 minutes vs 30-60 minutes manual

Command Line Interface

# Main command
php artisan bangkah:create

# Flags
--type=web|api              # Project type
--frontend=tailwind|bootstrap|none
--database=mysql|postgresql
--docker                    # Include Docker setup
--nginx                     # Include Nginx config
--yes                       # Skip confirmations

Example:

php artisan bangkah:create \
  --type=web \
  --frontend=tailwind \
  --database=postgresql \
  --docker \
  --yes

What’s Next?

On This Page