<commit_before># BookingSync Provider for OAuth 2.0 Client
[![Latest Version](https://img.shields.io/github/release/BookingSync/oauth2-bookingsync-php.svg?style=flat-square)](https://github.com/bookingsync/oauth2-bookingsync-php/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/BookingSync/oauth2-bookingsync-php/master.svg?style=flat-square)](https://travis-ci.org/bookingsync/oauth2-bookingsync-php)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/bookingsync/oauth2-bookingsync-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/bookingsync/oauth2-bookingsync-php/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/bookingsync/oauth2-bookingsync-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/bookingsync/oauth2-bookingsync-php)
[![Total Downloads](https://img.shields.io/packagist/dt/bookingsync/oauth2-bookingsync-php.svg?style=flat-square)](https://packagist.org/packages/bookingsync/oauth2-bookingsync-php)

This package provides BookingSync OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

## Installation

To install, use composer:

```
composer require bookingsync/oauth2-bookingsync-php
```
<commit_msg>Add  warning about SSL issue + workaround<commit_after># BookingSync Provider for OAuth 2.0 Client
[![Latest Version](https://img.shields.io/github/release/BookingSync/oauth2-bookingsync-php.svg?style=flat-square)](https://github.com/bookingsync/oauth2-bookingsync-php/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/BookingSync/oauth2-bookingsync-php/master.svg?style=flat-square)](https://travis-ci.org/bookingsync/oauth2-bookingsync-php)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/bookingsync/oauth2-bookingsync-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/bookingsync/oauth2-bookingsync-php/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/bookingsync/oauth2-bookingsync-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/bookingsync/oauth2-bookingsync-php)
[![Total Downloads](https://img.shields.io/packagist/dt/bookingsync/oauth2-bookingsync-php.svg?style=flat-square)](https://packagist.org/packages/bookingsync/oauth2-bookingsync-php)

This package provides BookingSync OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

## Deprecation warning

This lib use old deprecated vendors. You may have an SSL certificate issue. To solve it, you should:
- Replace the cacert.pem file in the deprecated GuzzleHttp repo with an updated one from https://curl.haxx.se/docs/caextract.html
- The location of the old pem file is `vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem`

## Installation

To install, use composer:

```
composer require bookingsync/oauth2-bookingsync-php
```

{'fraction_non_alphanumeric': 0.1563517915309446, 'fraction_numerical': 0.011726384364820847, 'mean_word_length': 6.125290023201856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 25, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3447144', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1085, 'n_words': 131}