smartCARS 3 is a web-based flight tracking system for virtual airlines. It is a complete rewrite of the original smartCARS system, and is designed to be more flexible and easier to use. This repository contains the web script files for smartCARS 3 in phpVMS 5.
- phpVMS 5.X
- If you are looking for phpVMS 7 support, please go to the phpVMS 7 repository instead.
- PHP 5.6 or higher
- MySQL 5.6 or higher
- PHP Database Objects (PDO) Extension
- A webserver that accepts the Authorization header (Apache, nginx, etc.)
- If you are using a shared hosting provider, you may need to contact them to enable this feature.
The smartCARS 3 phpVMS 5 API uses "handlers", which represent the platforms it is communicating with. We support phpVMS 5 in this repository, but custom handlers can be written for other platforms.
For phpVMS 7 support, please go to the phpVMS 7 repository instead.
Download the latest release from the releases page.
Extract the contents of the release zip file to an empty folder which is in the same directory as your installation (a core
folder should exist in this directory).
If you are using nginx as your webserver, you will need to serve the smartCARS API as a seperate location. An example configuration is below:
location /smartcars/api {
try_files $uri $uri/ /smartcars/api.php?$query_string;
}
You will need to modify this configuration to fit your needs and to point to the correct location.
Verify that the installation was successful by visiting the handler file in your browser. You should see a JSON response with the version number of the API and the name of your handler.
Assuming you have placed phpVMS 5 in your public_html
folder and your API folder is called smartcars
:
http://yourdomain.com/smartcars/api/phpvms5/
This URL will be the "Script URL" option in smartCARS 3 Central when managing your community.