Download the PHP package lookyman/flightradar24 without Composer

On this page you can find all versions of the php package lookyman/flightradar24. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

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.
Please rate this library. Is it a good library?

Informations about the package flightradar24

lookyman/flightradar24

PHP SDK for the Flightradar24 API, built on PSR-18. Bring your own PSR-18 HTTP client and PSR-17 request factory; all API responses are mapped into immutable readonly DTOs.

Requirements

Installation

Authentication

A token is required — there is no environment-variable fallback. Pass it to the Transport constructor. A blank token throws Lookyman\Flightradar24\Exception\MissingApiTokenException.

Usage

Every call is synchronous and returns the DTO (or list<Dto>) directly. See examples/basic_usage.php.

Endpoint coverage

Resource method HTTP request
livePositions->getLight(FlightPositionsQuery)list<FlightPositionLight> GET /api/live/flight-positions/light
livePositions->getFull(FlightPositionsQuery)list<FlightPositionFull> GET /api/live/flight-positions/full
livePositions->getCount(FlightPositionsQuery)CountResult GET /api/live/flight-positions/count
airports->getLight(string $code)AirportLight GET /api/static/airports/{code}/light
airports->getFull(string $code)AirportFull GET /api/static/airports/{code}/full
airlines->getLight(string $icao)AirlineLight GET /api/static/airlines/{icao}/light
usage->get(UsagePeriod = P24H)list<UsageLogSummary> GET /api/usage
historic->positions->getLight/getFull/getCount(HistoricFlightPositionsQuery) GET /api/historic/flight-positions/{light,full,count}
historic->events->getLight/getFull(FlightEventsQuery) GET /api/historic/flight-events/{light,full}
flightSummary->getLight/getFull/getCount(FlightSummaryQuery) GET /api/flight-summary/{light,full,count}
flightTracks->get(string $flightId)list<FlightTracks> GET /api/flight-tracks

Query value objects

Error handling

Any unmapped 4xx/5xx status surfaces as the base ApiException, which exposes the PSR-7 response:

License

MIT. See LICENSE.


All versions of flightradar24 with dependencies

PHP Build Version
Package Version
Requires php Version ~8.5.0
ext-json Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
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 lookyman/flightradar24 contains the following files

Loading the files please wait ...