ezzaze/ssim-parser

IATA SSIM schedules parser

Maintainers

Package info

github.com/ezzaze/ssim-parser

pkg:composer/ezzaze/ssim-parser

Fund package maintenance!

ezzaze

Statistics

Installs: 7 965

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 4

2.0.0 2026-04-03 22:23 UTC

README

Latest Version on Packagist Tests Total Downloads

This package allows the developers working with airline companies to extract the flight schedule directly off the Standard Schedules Information (SSIM) from IATA.

Requirements

  • PHP 8.2 or higher

Installation

You can install the package via composer:

composer require ezzaze/ssim-parser

Usage

use Ezzaze\SsimParser\SsimParser;

// From a raw SSIM string
$parser = new SsimParser();
$schedule = $parser->load($ssimData)->parse();

// From a file
$schedule = (new SsimParser())->load('/path/to/schedule.ssim')->parse();

Each flight in the returned array contains:

var_dump($schedule[0]);
/*
    array:12 [
        "uid" => "30330703070000501"
        "airline_designator" => "ME"
        "service_type" => "J"
        "flight_number" => "501"
        "departure_datetime" => "2022-07-03 07:00:00"
        "arrival_datetime" => "2022-07-03 08:40:00"
        "departure_utc_datetime" => "2022-07-03 03:00:00"
        "arrival_utc_datetime" => "2022-07-03 06:40:00"
        "departure_iata" => "EVN"
        "arrival_iata" => "HRG"
        "aircraft_type" => "320"
        "aircraft_configuration" => "Y174"
    ]
*/

Testing

composer test

Static Analysis

composer analyse

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.