Skip to content

bland-industries/timing-api

Repository files navigation

Laravel Package to connect to the Timing App API

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

Package to connect to the Timing App API

Installation

You can install the package via composer:

composer require bland-industries/timing-api

You can publish the config file with:

php artisan vendor:publish --tag="timing-api-config"

This is the contents of the published config file:

return [
    "max_batch_size"    => 50, // the max batch size Mixpanel will accept is 50,
    "max_queue_size"    => 1000, // the max num of items to hold in memory before flushing
    "debug"             => false, // enable/disable debug mode
    "host"              => "https://web.timingapp.com", // the host name for api calls
    "use_ssl"           => true, // use ssl when available
    "error_callback"    => null, // callback to use on consumption failures
    "version"           => "v1", // default api version
    "token"             => env('TIMING_API_TOKEN') // api token
];

Usage

$timingApi = new BlandIndustries\TimingApi();
echo $timingApi->echoPhrase('Hello, BlandIndustries!');

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages