budgetlens/laravel-copernica-rest-api-client

Copernica Rest Api Client for Laravel

v3.0.2 2024-06-25 07:02 UTC

This package is auto-updated.

Last update: 2024-10-25 07:37:25 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.