Skip to content

Tutorials ​

Step-by-step guides for building with TAVP.

Available Tutorials ​

TutorialWhat You'll Build
DatabaseSet up database, run migrations, create models
AuthenticationAdd OTP login with tavpid
APIBuild a REST API with headless endpoints
DeploymentDeploy 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 serve

Learning Path ​

  1. Beginner: Installation → Quick Start → Database Tutorial
  2. Intermediate: Authentication → API Tutorial → Blog Example
  3. Advanced: Deployment → SaaS Example → Architecture

Learn More ​

Released under the MIT License.