Download the PHP package crumbls/astrology without Composer
On this page you can find all versions of the php package crumbls/astrology. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download crumbls/astrology
More information about crumbls/astrology
Files in crumbls/astrology
Package astrology
Short Description Internal Laravel package: natal chart engine (tropical + Vedic) with interactive D3 renderer, built on Swiss Ephemeris.
License MIT
Informations about the package astrology
crumbls/astrology
Internal Laravel package: natal chart engine (tropical Western + sidereal Vedic) with an interactive D3 chart renderer. Built on Swiss Ephemeris via jayeshmepani/swiss-ephemeris-ffi. Verified against Cafe Astrology and swetest to the arcsecond.
Install
swisseph:install downloads the three required .se1 data files and builds the swetest binary (macOS or Linux). It's idempotent — re-running with no --force only fetches what's missing.
Then enable PHP FFI in your environment:
- Herd / Valet: open Herd → PHP → INI tab → add
ffi.enable=true→ save (auto-restarts FPM). - CLI works without changes (CLI defaults to
ffi.enable=preloadwhich still permits FFI from CLI).
Usage
For a Vedic chart (with nakshatras, padas, Vimshottari dashas):
Demo page
Visit /astro/chart for an interactive D3 chart wheel with hover tooltips, aspect line highlighting, and a form to compute new charts. Disable with ASTROLOGY_DEMO_ROUTE=false.
CLI
Caching
Chart results are cached via Cache::rememberForever() keyed on (UTC timestamp, lat, lng, mode). First call ~2ms; subsequent reads ~0.2ms. Use ASTROLOGY_CACHE_STORE=redis (or any cache store name) to override the default store.
Roadmap
SynastryService— cross-aspects between two chartsCompositeService— midpoint composite chartsAshtakootaService— Vedic Guna Milan (36-point matrimonial compatibility)- Pluggable interpretation-content store
All versions of astrology with dependencies
laravel/framework Version ^12.0 || ^13.0
jayeshmepani/swiss-ephemeris-ffi Version ^1.1