Tutorials
Step-by-step guides for building with TAVP.
Available Tutorials
| Tutorial | What You'll Build |
|---|---|
| Database | Set up database, run migrations, create models |
| Authentication | Add OTP login with tavpid |
| API | Build a REST API with headless endpoints |
| Deployment | Deploy to VPS, Docker, or cloud |
Prerequisites
- PHP 8.3+
- Phalcon 5.16+ (install with
tavp phalcon:install) - MySQL/MariaDB or SQLite
- Composer
Quick Start
bash
# 1. Create project
composer create-project tavp/starter my-app
cd my-app
# 2. Configure
cp .env.example .env
# Edit .env with your database credentials
# 3. Install Phalcon
tavp phalcon:install
# 4. Run migrations
tavp migrate
# 5. Start development server
tavp serveLearning Path
- Beginner: Installation → Quick Start → Database Tutorial
- Intermediate: Authentication → API Tutorial → Blog Example
- Advanced: Deployment → SaaS Example → Architecture
