PHPackages                             peter9x/laravel-toconline-api - 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. peter9x/laravel-toconline-api

ActiveLibrary[API Development](/categories/api)

peter9x/laravel-toconline-api
=============================

Laravel package for toconline API

v0.1.0(2mo ago)017MITPHPCI passing

Since Nov 5Pushed 2mo agoCompare

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

READMEChangelog (6)Dependencies (14)Versions (7)Used By (0)

 [![Build Status](https://github.com/peter9x/laravel-bc/actions/workflows/php.yml/badge.svg)](https://github.com/peter9x/laravel-toconline-api/actions) [![Latest Stable Version](https://camo.githubusercontent.com/a93d73101fb930efcdd4e878283fb9d3d2a26ab95468f4dc39363ed444f65494/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706574657239782f6c61726176656c2d746f636f6e6c696e652d617069)](https://packagist.org/packages/peter9x/laravel-toconline-api) [![License](https://camo.githubusercontent.com/137141ea25a0710f50f89a3d0e516d0ddc58414305c631d0d6083e75f384e16f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706574657239782f6c61726176656c2d746f636f6e6c696e652d617069)](https://packagist.org/packages/peter9x/laravel-toconline-api)

laravel-toconline-api
=====================

[](#laravel-toconline-api)

Laravel Toconline API

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

[](#installation)

1. Install the package via Composer:

```
composer require peter9x/laravel-toconline-api
```

2. Publish the configuration file:

```
php artisan vendor:publish --provider="Mupy\\TOConline\\TOConlineServiceProvider" --tag=config
```

3. Add the following to your `.env` file:

```
TOC_CLIENT_ID=your-client-id
TOC_CLIENT_SECRET=your-client-secret
TOC_URI_OAUTH=https://example.com/callback
```

4. Optional config to add on the `.env` file:

```
TOC_BASE_URL=https://example.com
TOC_BASE_URL_OAUTH=https://example.com/oauth
```

Usage
-----

[](#usage)

```
use Mupy\TOConline\Facades\TOConline;

try {
    $docs = TOConline::api()->documents();
} catch (\Throwable $th) {
    // Handle exceptions as needed
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance88

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~24 days

Recently: every ~31 days

Total

6

Last Release

62d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c46d53963b1f619827ca21ca692e7172ccc9c84eff2e17c538e0da84c0e088d5?d=identicon)[eletronik](/maintainers/eletronik)

---

Top Contributors

[![peter9x](https://avatars.githubusercontent.com/u/63051215?v=4)](https://github.com/peter9x "peter9x (19 commits)")

---

Tags

apilaravelToc online

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/peter9x-laravel-toconline-api/health.svg)

```
[![Health](https://phpackages.com/badges/peter9x-laravel-toconline-api/health.svg)](https://phpackages.com/packages/peter9x-laravel-toconline-api)
```

###  Alternatives

[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[dcblogdev/laravel-xero

A Laravel Xero package

53129.1k1](/packages/dcblogdev-laravel-xero)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[gufy/whmcs

WHMCS API for Laravel 5

211.7k](/packages/gufy-whmcs)

PHPackages © 2026

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