Installation
Requirements
- PHP 8.3+
- Phalcon 5.16+ (install with
tavp phalcon:install) - Node.js 18+
- Composer 2.x
Install TAVP CLI
bash
composer global require tavp/cliCreate New Project
bash
tavp new my-app
cd my-appOr using Composer directly:
bash
composer create-project tavp/core my-app
cd my-appInstall Dependencies
bash
# PHP dependencies
composer install
# Frontend dependencies
npm installConfigure Environment
bash
cp .env.example .env
tavp key:generateConfigure Database
Edit .env:
bash
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=tavp
DB_USERNAME=root
DB_PASSWORD=secretRun Migrations
bash
tavp migrateStart Development Server
bash
tavp serveInstall Phalcon (if not installed)
bash
tavp phalcon:install