budgetlens/laravel-copernica-rest-api-client

Copernica Rest Api Client for Laravel

v3.0.0-beta.1 2022-02-18 21:50 UTC

This package is auto-updated.

Last update: 2024-04-19 02:38:08 UTC


README

Latest Version on Packagist Software License Tests Total Downloads

Copernica Rest API Client for Laravel

This package incorporates the Copernica Rest API Client

Installation

composer require 123lens/laravel-copernica-rest-api-client

Configuration

Add your Copernica Access Token to the .env file

COPERNICA_ACCESS_TOKEN=YOUR-API-TOKEN


You can optionally publish the config file with:

php artisan vendor:publish --provider="Budgetlens\LaravelCopernicaApi\ServiceProvider" --tag="config"`

Usage

$databases = Copernica::database()->list();
ddd($databases);

Testing

composer test

License

The MIT License (MIT). Please see License File for more information.