Vittix Panchang Engine

The Vedic Panchang Engine for Developers

Panchang, Kundli, planetary positions, Muhurta, festivals and Hindu calendar calculations — built for PHP, Laravel and REST APIs.

20+
Panchang calculations
9
REST endpoints
PHP 8.3+
Modern runtime
MIT
Open source
What is Vittix Panchang?

A precision Panchang calculation engine built for developers.

Generate tithi, nakshatra, yoga, karana, vara, sunrise, sunset, moonrise, moonset, festivals, muhurta and more with timezone-aware calculations.

PHP
use Vittix\Panchang\Panchang;

$panchang = Panchang::today('Mumbai');

echo $panchang->tithi()->name;
echo $panchang->nakshatra()->name;
echo $panchang->sunrise();

Comprehensive Calculation Engine

Everything you need to build Vedic astronomical applications.

Panchang & Time

Tithi, Nakshatra, Yoga, Karana, Vara, Sunrise, Sunset, Moonrise, Moonset.

Astrology & Kundli

Planetary positions, Dashas, Ascendant, Rashi, and Navamsha charts.

Muhurta & Electional

Rahu Kalam, Yamaganda, Abhijit, Brahma Muhurta, and Choghadiya.

Hindu Calendar

Festivals, Ekadashi, Purnima, Amavasya, Sankranti, and fasts.

Native PHP

Drop-in Composer package for any PHP 8.3+ application. Zero external API dependencies required.

Laravel Ready

Seamless integration with Laravel via service providers, facades, and Artisan commands.

REST APIs

Expose JSON endpoints effortlessly to power mobile apps, SPAs, and microservices.

JSON Responses

RESTful by design

Every calculation can be accessed via standardized JSON APIs. Perfect for building headless architecture, mobile apps, or JavaScript frontends.

  • GET /api/day — Daily Panchang
  • GET /api/moment — Exact instant calculation
  • GET /api/kundli — Birth chart generation
  • GET /api/calendar — Festival data
{
  "status": "success",
  "data": {
    "date": "2026-08-15",
    "location": "Mumbai",
    "tithi": {
      "name": "Krishna Trayodashi",
      "end_time": "18:45:00"
    },
    "nakshatra": {
      "name": "Pushya",
      "end_time": "20:12:00"
    }
  }
}

Ready to build your Vedic app?

Join the open-source community building the modern standard for Hindu calendrical computations.