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.
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.
Star Trek Timeline requires PHP >= 7.2.
Use Composer to install this package:
composer require etienneq/star-trek-timeline
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.
Besides my own notes the following sources were used for creating the data files.
- Star Trek: memory-alpha.wikia.com
- Star Trek: The Animated Series: memory-alpha.wikia.com
- Star Trek: The Next Generation: memory-alpha.wikia.com
- Star Trek: Deep Space Nine: memory-alpha.wikia.com
- Star Trek: Voyager: memory-alpha.wikia.com
- Star Trek: Enterprise: memory-alpha.wikia.com
- Star Trek: Discovery: startreklitverse.yolasite.com
- TOS and TNG movies: memory-alpha.wikia.com
- Pocket Books novel list: startreklitverse.yolasite.com
- Up until June '18 release (DSC "Fear Itself")