Vatsimphp requires PHP 7.2 or above. If you are running an older PHP version you can use Vatsimphp ^1.0
instead.
However we highly recommend you upgrade your PHP environment to a support PHP version.
Vatsimphp will note make any bug fixes related to the usage of an unsupported PHP version.
Assuming you have already installed composer, run:
$ composer require skymeyer/vatsimphp ^2.0
Or add vatsimphp manually to your composer.json of your current project:
{
"require": {
"skymeyer/vatsimphp": "^2.0"
}
}
We have compiled a full tutorial for newbie users covering the installation process and some real life examples on how to make use of vatsimphp. This tutorial is mostly targetted for novice users, however it contains valuable information about the vatsimphp design for everyone.
The easy API is mostly covered in the above tutorial. For a reference checkout our examples.