Download the PHP package astroinsightapi/astroinsight-php-sdk without Composer
On this page you can find all versions of the php package astroinsightapi/astroinsight-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astroinsightapi/astroinsight-php-sdk
More information about astroinsightapi/astroinsight-php-sdk
Files in astroinsightapi/astroinsight-php-sdk
Package astroinsight-php-sdk
Short Description Official PHP SDK for the Astro Insight API - Astrology, Numerology, Panchang, Tarot, and Divination services.
License MIT
Informations about the package astroinsight-php-sdk
Astro Insight PHP SDK
Official, strongly-typed PHP 8.1+ SDK for the Astro Insight API. Easily integrate comprehensive Vedic Astrology, Western Astrology, Matchmaking, Panchang, Muhurta, Tarot, Numerology, Chinese Astrology, and Geolocation calculations into your PHP applications.
Features
- 🪐 Vedic Astrology: Ashtakvarga, Vimshottari / Char / Yogini Dashas, KP System, Jaimini, Lal Kitab, Varshaphal, Ghat Chakra, Horoscope Charts & Doshas.
- 💍 Matchmaking: Guna Milan, Kundali Compatibility, Manglik Matching.
- 🗓️ Panchang & Muhurta: Daily Panchang, Choghadiya, Hora, Shubh Muhurta timing.
- 🔮 Western Astrology & Tarot: Natal Charts, Solar Return, Daily/Weekly/Monthly Transits, Synastry, Tarot spreads (One-card, Three-card, Celtic Cross, Love, Career).
- 🔢 Numerology: Vedic & Western Numerology (Life Path, Destiny, Soul Urge).
- ☯️ Chinese Astrology & Biorhythm: Zodiac sign compatibility & biorhythm calculations.
- 🌍 Geo Utilities: Place search, timezone lookup by coordinates or ID.
- 🛡️ Strongly Typed DTOs: Clean
BirthDetails,MatchInput, andGeoLocationobjects. - ⚡ PSR-4 Compliant & Guzzle Powered: Exception handling for authentication, validation (422), rate limits (429), and server errors.
Installation
Install the package via Composer:
Quick Start
1. Initialize the Client
2. Using Data Transfer Objects (DTOs)
Create a BirthDetails object for birth chart calculations:
Code Examples
🪐 Vedic Astrology & Dashas
💍 Matchmaking (Guna Milan)
🗓️ Daily Panchang & Muhurta
🔮 Tarot Readings
📊 Horoscope Predictions
Dynamic Configuration & Headers
You can update the default language or Ayanamsha dynamically on the client:
Exception Handling
All API errors throw domain-specific exceptions extending AstroInsight\Exceptions\AstroException:
Running Tests
To run the unit test suite using PHPUnit:
License
This SDK is open-sourced software licensed under the MIT License.