ezzaze / ssim-parser
IATA SSIM schedules parser
Fund package maintenance!
2.0.0
2026-04-03 22:23 UTC
Requires
- php: ^8.2
- nesbot/carbon: ^2.62|^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^2.36
- phpstan/phpstan: ^1.10
- spatie/ray: ^1.28
- dev-main
- 2.0.0
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- v0.0.1-alpha
- dev-develop
- dev-semanticore/release
- dev-dependabot/github_actions/dependabot/fetch-metadata-2.5.0
- dev-dependabot/github_actions/actions/checkout-6
- dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-7
- dev-dependabot/github_actions/actions/setup-go-6
This package is auto-updated.
Last update: 2026-04-04 12:43:57 UTC
README
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.