tavp/core
Composer 安装命令:
composer require tavp/core
包简介
TAVP Stack core framework — Tailwind + Alpine + Volt + Phalcon, with a Laravel-style ergonomic layer on top of Phalcon.
README 文档
README
Tailwind CSS + Alpine.js + Volt + Phalcon = TAVP
TAVP is a curated PHP tech stack — not a framework. It combines Phalcon's C-extension performance with modern frontend tools (Tailwind CSS, Alpine.js) and Volt templating. Think of it as "Laravel ergonomics + Phalcon speed."
Current Version: 1.0.0 (Stable)
Features
- Phalcon 5.16 — High-performance C-extension MVC framework
- Volt Templates — Fast, secure template engine (compiled to PHP, not Livewire-based)
- Tailwind CSS — Utility-first CSS framework
- Alpine.js — Lightweight JavaScript framework
- OTP Authentication — Passwordless login via email, SMS, WhatsApp
- JWT API Auth — Token-based API authentication
- Role & Permission — RBAC system
- CLI Tools — Code generation, migrations, deployment
- 40+ UI Components — TAVPblocks component library (Tailwind + Alpine)
- AI Integration — OpenAI, Anthropic, Ollama support
- Module System — Composer-based package discovery
- Marketplace — Module and theme marketplace
- 4 Runtimes — PHP-FPM, TAVP Coil (Swoole), TAVP Relay (RoadRunner), TAVP Weave (PHP Fibers)
- SaaS Billing — Stripe, Midtrans, Xendit, PayPal
- Kubernetes & Terraform — Production deployment
Quick Start
# Install TAVP composer create-project tavp/core my-app # Start development cd my-app tavp serve # Open browser open http://localhost:8000
Documentation
- docs.tavp.web.id — Official documentation (Bahasa Indonesia + English)
- Getting Started
- CLI Reference
- Runtimes
- FAQ
System Requirements
- PHP 8.3+
- Phalcon 5.16+ (install with
tavp phalcon:install) - Node.js 18+ (for frontend assets)
- Composer 2.x
Performance
Benchmarked on a 2-core VPS with 2GB RAM:
| Metric | PHP-FPM | TAVP Coil (Swoole) |
|---|---|---|
| Requests/sec | 5,000+ | 12,000+ |
| P95 Latency | <5ms | <2ms |
| Memory per worker | <15MB | <8MB |
Ecosystem
| Package | Description | Install |
|---|---|---|
| tavp/core | Framework foundation | composer create-project tavp/core |
| tavp/cli | CLI tool (tavp command) |
composer global require tavp/cli |
| tavpid | OTP-first authentication | composer require tavp/tavpid |
| tavpkit | Starter kits & bundles | composer require tavp/tavpkit |
| tavphub | Admin panel | composer require tavp/tavphub |
| tavpblocks | 40+ UI components | composer require tavp/tavpblocks |
| tavphive | Billing & subscriptions | composer require tavp/tavphive |
| tavp-marketplace | Module marketplace | composer require tavp/tavp-marketplace |
| tavp-installer | Phalcon installer | sh install_phalcon5.sh |
| tavp/analytics | Analytics & fraud detection | composer require tavp/analytics |
| tavp/starter | Project template | tavp new my-app |
Versioning
TAVP follows Semantic Versioning:
- 1.0.0 — Stable (public API locked, SemVer applies)
- 1.x.y — Minor (backward-compatible features)
- x.0.0 — Major (breaking changes)
License
MIT License
Community
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-09