etienneq/star-trek-timeline

A Star Trek timeline covering all media (TV, cinema, streaming, novels, comics) written in PHP.

dev-master 2018-11-24 06:42 UTC

This package is auto-updated.

Last update: 2025-06-24 22:03:17 UTC


README

A Star Trek fiction timeline covering all media (TV, cinema, novels, comics), written in PHP.

At the moment this is still a prototype.

When finished this library aims to provide a timeline for all published Star Trek.

Episodes, novels etc. are organized in CSV files. This files are devided in a human readable fashion (e.g. by media or series) to be easily manageable and updateable.

This library automatically sorts all entries chronologically as excactly as possible using a number of criteria (given stardate, publication date, episode number etc.). If needed entries can be placed manually at a certain place on the timeline.

An API is provided that returns the timeline in an object-oriented fashion. It's planned to add the possibility to filter timeline entries by year, series etc.

Current status of prototype

At the moment the data is not yet complete. But it's enough to demonstrate the intended potential. Take a look here.

I'm planning to launch a website which utilizes this library to make the timeline accessible for all internet users in a dynamic fashion.

Prerequisites

Star Trek Timeline requires PHP >= 7.2.

Installation

Use Composer to install this package:

composer require etienneq/star-trek-timeline

Data structure

Data files are located in the resources directory. There are two types of files: Items files (*.csv) which contain all the episodes, books etc. and meta data (*.ini) files which give additional information about a particular series or season.

Data sources

Besides my own notes the following sources were used for creating the data files.

TV series

Movies

Novels