PHPackages                             eele/laravel-tonic - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. eele/laravel-tonic

ActiveLibrary[API Development](/categories/api)

eele/laravel-tonic
==================

Laravel Tonic API Integration

v0.2.1(2y ago)0665[2 PRs](https://github.com/eele94/laravel-tonic/pulls)MITPHPPHP ^8.1

Since Nov 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/eele94/laravel-tonic)[ Packagist](https://packagist.org/packages/eele/laravel-tonic)[ Docs](https://github.com/eele/laravel-tonic)[ RSS](/packages/eele-laravel-tonic/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (14)Versions (8)Used By (0)

Laravel Tonic API Integration
=============================

[](#laravel-tonic-api-integration)

[![Latest Version on Packagist](https://camo.githubusercontent.com/12916ce022bd643ae2cc3df3f1256720f3e3054cf11a52e69f78f90bec83ced3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65656c652f6c61726176656c2d746f6e69632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eele/laravel-tonic)[![GitHub Tests Action Status](https://camo.githubusercontent.com/30b3bd4d24ad5ef0026010fe7e593bcd10b4dce6d4117a8ba022a09d6569a5a0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f65656c652f6c61726176656c2d746f6e69632f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/eele/laravel-tonic/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c5382e8424307b7edb6a41ce5f632d9f05a5b9342e7961c4c9d4a81fbfca4918/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f65656c652f6c61726176656c2d746f6e69632f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/eele/laravel-tonic/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/51030ba2bdc6ccb0707577afa5ad51621ab4ecb9d3e907902840481866e918c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65656c652f6c61726176656c2d746f6e69632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eele/laravel-tonic)

Tonic Integration for Laravel, using for my personal projects. Use at your own risk.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require eele/laravel-tonic
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-tonic-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-tonic-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-tonic-views"
```

Usage see unit tests for examples
---------------------------------

[](#usage-see-unit-tests-for-examples)

### GetOffers

[](#getoffers)

```
$tonic = new \Eele94\Tonic\Tonic();
$response = $tonic->send(new OffersGet());
```

### Integration generate api sdk

[](#integration-generate-api-sdk)

Using sdkgenerator

#### Tonic

[](#tonic)

sdkgenerator generate:sdk ./tonic-for-publishers-api-v4.json --type=openapi --name=Tonic --output=./src/Api --namespace=Eele94\\Tonic\\Api

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [eele94](https://github.com/eele)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

5

Last Release

885d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ded1514915858bc78294ee2eb204c484d5b4a368f0f4775a2e09228a4ba63e6?d=identicon)[eele94](/maintainers/eele94)

---

Top Contributors

[![eele94](https://avatars.githubusercontent.com/u/8152346?v=4)](https://github.com/eele94 "eele94 (29 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laraveleele94laravel-tonic

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/eele-laravel-tonic/health.svg)

```
[![Health](https://phpackages.com/badges/eele-laravel-tonic/health.svg)](https://phpackages.com/packages/eele-laravel-tonic)
```

###  Alternatives

[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)[codebar-ag/laravel-zammad

Zammad integration with Laravel

106.1k](/packages/codebar-ag-laravel-zammad)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
