chrisreedio/laravel-pubrec-sdk

Provides a Laravel SDK for PubRec API

v1.0.0-beta.1 2024-05-30 00:01 UTC

This package is auto-updated.

Last update: 2024-11-08 22:22:16 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package provides a Laravel SDK for the PubRec API.

Installation

You can install the package via composer:

composer require chrisreedio/laravel-pubrec-sdk

You can publish the config file with:

php artisan vendor:publish --tag="laravel-pubrec-sdk-config"

This is the contents of the published config file:

return [
    'api_key' => env('PUBREC_API_KEY'),
    'api_url' => env('PUBREC_API_URL', 'https://api.pubrec.io'),
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-pubrec-sdk-views"

Usage

$pubRecSDK = new ChrisReedIO\PubRecSDK();
echo $pubRecSDK->echoPhrase('Hello, ChrisReedIO!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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