PHPackages                             etienneq/star-trek-timeline - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. etienneq/star-trek-timeline

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

etienneq/star-trek-timeline
===========================

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

01HTML

Since Nov 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/etienneq/star-trek-timeline)[ Packagist](https://packagist.org/packages/etienneq/star-trek-timeline)[ RSS](/packages/etienneq-star-trek-timeline/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Star Trek Timeline
==================

[](#star-trek-timeline)

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
---------------------------

[](#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](http://htmlpreview.github.io/?https://github.com/etienneq/star-trek-timeline/blob/master/timeline.html).

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
-------------

[](#prerequisites)

Star Trek Timeline requires PHP &gt;= 7.2.

Installation
------------

[](#installation)

Use [Composer](https://getcomposer.org/) to install this package:

```
composer require etienneq/star-trek-timeline

```

Data structure
--------------

[](#data-structure)

Data files are located in the [resources](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.

- [Defining items files](doc/items-files.md)
- [Defining meta data files](doc/meta-data-files.md)

Data sources
------------

[](#data-sources)

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

### TV series

[](#tv-series)

- Star Trek: [memory-alpha.wikia.com](http://memory-alpha.wikia.com/wiki/Star_Trek:_The_Original_Series)
- Star Trek: The Animated Series: [memory-alpha.wikia.com](http://memory-alpha.wikia.com/wiki/Star_Trek:_The_Animated_Series)
- Star Trek: The Next Generation: [memory-alpha.wikia.com](http://en.memory-alpha.wikia.com/wiki/Star_Trek%3A_The_Next_Generation)
- Star Trek: Deep Space Nine: [memory-alpha.wikia.com](http://en.memory-alpha.wikia.com/wiki/Star_Trek%3A_Deep_Space_Nine)
- Star Trek: Voyager: [memory-alpha.wikia.com](http://memory-alpha.wikia.com/wiki/Star_Trek%3A_Voyager)
- Star Trek: Enterprise: [memory-alpha.wikia.com](http://en.memory-alpha.wikia.com/wiki/Star_Trek%3A_Enterprise)
- Star Trek: Discovery: [startreklitverse.yolasite.com](https://startreklitverse.yolasite.com/discovery-chronology.php)

### Movies

[](#movies)

- TOS and TNG movies: [memory-alpha.wikia.com](http://memory-alpha.wikia.com/wiki/Star_Trek_films)

### Novels

[](#novels)

- Pocket Books novel list: [startreklitverse.yolasite.com](https://startreklitverse.yolasite.com/complete-pocket-books-novel-list.php)
    - Up until June '18 release (DSC "Fear Itself")

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3263670?v=4)[Etienne Quiel](/maintainers/etienneq)[@etienneq](https://github.com/etienneq)

### Embed Badge

![Health badge](/badges/etienneq-star-trek-timeline/health.svg)

```
[![Health](https://phpackages.com/badges/etienneq-star-trek-timeline/health.svg)](https://phpackages.com/packages/etienneq-star-trek-timeline)
```

###  Alternatives

[jpmurray/laravel-countdown

Provide an easy class easy way to get the time difference between two dates, with an extra bonus trait for eloquent

833.8k](/packages/jpmurray-laravel-countdown)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
