-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Mustapha A edited this page Aug 21, 2024
·
4 revisions
The package supports php version >= 7.1
Tested with 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 and 8.3
$ composer require stoufa06/php-garmin-connect-api
To test the package :
# Clone the repository
$ git clone [email protected]:stoufa06/php-garmin-connect-api.git
# Go inside the directory
$ cd php-garmin-connect-api
# Install packages composer
$ composer install
# OR
# Install packages with docker composer
$ docker pull composer
$ docker run --rm --interactive --tty --volume $PWD:/app composer install
# Create .env file in examples folder
$ cd examples && touch .env
# Open .env file and set Garmin env variables
$ nano .env
> GARMIN_KEY=your-key
> GARMIN_SECRET=your-secret
> GARMIN_CALLBACK_URI=http://localhost:8080/
$ docker-compose up -d
Open in browser : http://localhost:8080/