Dokumentasi / Examples
Examples
Full-Stack Web Application
php artisan bangkah:create \
--type=web \
--docker \
--nginx \
--db=mysql \
--frontend=tailwind \
--auth \
--yes
Generated:
- Dockerfile, docker-compose.yml, Nginx conf
- Controller, view, routes
.envMySQL, Breeze, Tailwind
Next:
docker compose up -d
docker compose exec app php artisan migrate
open http://localhost
RESTful API with PostgreSQL
php artisan bangkah:create \
--type=api \
--docker \
--nginx \
--db=postgres \
--frontend=none \
--yes
Health endpoint:
curl http://localhost/api/health
Traditional Bootstrap Web App
php artisan bangkah:create \
--type=web \
--frontend=bootstrap \
--auth \
--db=mysql \
--yes
Next:
php artisan migrate
php artisan serve
Minimal Setup
php artisan bangkah:create --type=web --frontend=none --yes