Download the PHP package marcoconsiglio/ephemeris without Composer

On this page you can find all versions of the php package marcoconsiglio/ephemeris. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ephemeris

GitHub License Static Badge
Static Badge Static Badge Static Badge

Laravel Swiss Ephemeris

This laravel package perform queries to the Swiss Ephemeris executable and therefore relies on it using the same AGPL license. Using this package in your Laravel project means you'll need to use the same license. For commercial use, you'll need to purchase the corresponding license.

The aim of this project is to query ephemeris data to produce planetar positions in order to be used for purposes such as astronomy/astrology, planetary calendar, biodynamic calendar, etc.

In this software, only a fraction of the swiss ephemeris are used: you can query planets, Moon, and known asteroids from 1800 CE (AD) to 2399 CE (AD).

Development Roadmap

Check the next features in the development roadmap.

Installation

After installation run this command to publish the Swiss Ephemeris database and config file in your Laravel project.

Remember to grant execution privileges to the swetest file, otherwise this software won't work. To do this, run the command

To extend the ephemeris data, download the ephemeris files you wish and put them in the resources/swiss_ephemeris directory. If you don't know which files to download to extend the time range of the ephemeris, please refer to the description of the ephemerides.

Usage

First of all, to query ephemeris data you need to instantiate the 'LaravelSwissEphemeris' class. You need to pass a PointOfView class, if none is used, it defaults to Geocentric point of view.

or instead, another PointOfView class:

Check all available points of view for more info.

If something went wrong (e.g. like uncorrect permission for the files placed in the folder resources/swiss_ephemeris, outbound quering date, ect.) it will throw a MarcoConsiglio\Ephemeris\Exceptions\SwissEphemerisException exception. (This need to be tested and proved).

Premise

When using the word collection, it is meant that the class extends the Illuminate\Support\Collection, so you can treat it like any other collection.

API Documentation

For more information, see the API documentation at ./docs/html.

Index

Point of View


All versions of ephemeris with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
adambrett/shell-wrapper Version ~1.0
marcoconsiglio/goniometry Version ^3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package marcoconsiglio/ephemeris contains the following files

Loading the files please wait ...