# Installation

# Install Package

Download package via composer

composer require pyaesoneaung/sportmonks-football-api

Update .env

SPORTMONKS_FOOTBALL_API_TOKEN=Your-Sportmonks-Api-Token
SPORTMONKS_FOOTBALL_TIMEZONE=UTC
SPORTMONKS_FOOTBALL_RETURN_TYPE=dto

# Return Type

By default, it returns an array. Other supported return types are collection and response. collection returns a Laravel Collection (opens new window) object, while response returns a Laravel HTTP Response (opens new window) object. By default, it returns an array. Other supported return types are collection, response, and dto. collection returns a Laravel Collection (opens new window) object, response returns a Laravel HTTP Response (opens new window) object, and dto returns a ResponseDto (opens new window) object.