Download the PHP
package lotfio/vstat without Composer
On this page you can find all versions of the php package
lotfio/vstat. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor lotfio Package vstat Short Description Vatsim statistics PHP API License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
VSTAT is a simple lightweight PHP MIT Package developed by Lotfio Lakehal That helps you to get VATSIM statistics and data in simple clean and easy way.
📌 Requirements :
PHP 7.2 or newer versions
PHPUnit >= 8 (for testing purpose)
:ok_hand: Features :
Easy to use.
Simple installation one line command with composer.
Get all Vatsim Data.
Get VATSIM servers data.
Get clients data.
Cache data to speed up the loading process.
🚀 Installation & Use :
:pencil2: Use it :
:wrench: Config:
Config file is located inside Vstat/config/app.php where you can change vatsim data url, cache time and cache location.
By default VSTAT is generating data each 5 minutes from http://vatsim-data.hardern.net/vatsim-data.txt
You can change the time of data loading to 2 - 3 minutes.
Recommended I recommend that you create a cron job on your host and update vatsim-data.txt file every minute
which will highly increase the loading speed of you application. (if you do so make sure to keep php cache time higher than the cron job).
:inbox_tray: Available methods :
:computer: Contributing
Thank you for considering to contribute to Ouch. All the contribution guidelines are mentioned here.
:page_with_curl: ChangeLog
Here you can find the ChangeLog.
:beer: Support the development
Share VSTAT and lets get more stars and more contributors.
If this project helped you reduce time to develop, you can give me a cup of coffee :) : Paypal. 💖
:clipboard: License
VSTAT is an open-source software licensed under the MIT license.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package lotfio/vstat contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.