Skip to content

Sysvale/apifiles

Repository files navigation

ApiFiles

A Laravel library to abstract communication with api-files

Installation

composer require sysvale/api-files

Configuration

  • Publish the config file and it will be created as apifiles.php
php artisan vendor:publish --tag apifiles-config
  • Set URL and the access token

Development

  • Set up environment
docker-composer up -d
  • Install dependencies
./docker-exec.sh composer update
  • Run tests
./docker-exec.sh vendor/bin/phpunit