Download the PHP package festivalslab/api-client-php without Composer
On this page you can find all versions of the php package festivalslab/api-client-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download festivalslab/api-client-php
More information about festivalslab/api-client-php
Files in festivalslab/api-client-php
Package api-client-php
Short Description PHP client for the Edinburgh Festivals Listings API
License BSD-3-Clause
Homepage https://github.com/festivalslab/api-client-php
Informations about the package api-client-php
Edinburgh Festivals Listings API client for PHP
The Edinburgh Festivals Listings API client for PHP makes it easy for developers to access the Edinburgh Festivals Listings API in their PHP code.
You can get started quickly by installing the client through composer
Quick Examples
Create a client
Find some events
Iterate all results
The API delivers results in pages, by default 25 results at a time, configurable up to 100.
Using FestivalsApi\FestivalsApiEventSearch
will take care for the pagination for you so you can iterate all results for a search query easily.
Resources
- API Docs - Details about parameters & responses
- API Browser - Interactive tool to explore API options and responses
Installing
The recommended way to install the php client is through Composer.
Install Composer https://getcomposer.org/
Next, run the Composer command to install the latest stable version of the client:
After installing, you need to require Composer's autoloader:
You can then later update the client using composer: