PHPackages                             capeandbay/zingfit - 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. [Framework](/categories/framework)
4. /
5. capeandbay/zingfit

ActiveLibrary[Framework](/categories/framework)

capeandbay/zingfit
==================

A Laravel Package for ZingFit-enabled Projects.

0.1.7(5y ago)067MITPHPCI failing

Since Jul 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/capeandbay-devs/ZingFit)[ Packagist](https://packagist.org/packages/capeandbay/zingfit)[ Docs](https://github.com/capeandbay-devs/ZingFit)[ RSS](/packages/capeandbay-zingfit/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (7)Versions (10)Used By (0)

[![](https://camo.githubusercontent.com/31cabbba192fea675cc86cc8a512e66d613b08cb085bff4f123f1d12670ca4de/68747470733a2f2f616d63686f72636d732d6173736574732e73332e616d617a6f6e6177732e636f6d2f53637265656e2b53686f742b323032302d30372d32302b61742b312e30322e35302b414d2e706e67)](https://camo.githubusercontent.com/31cabbba192fea675cc86cc8a512e66d613b08cb085bff4f123f1d12670ca4de/68747470733a2f2f616d63686f72636d732d6173736574732e73332e616d617a6f6e6177732e636f6d2f53637265656e2b53686f742b323032302d30372d32302b61742b312e30322e35302b414d2e706e67)

[![](https://camo.githubusercontent.com/8ccfdc0491c747f75f6594f722f0f977f8f27fca1f72f6992d2467d44057bc61/68747470733a2f2f616d63686f72636d732d6173736574732e73332e616d617a6f6e6177732e636f6d2f7377657276655f6c6f676f2e706e67)](https://camo.githubusercontent.com/8ccfdc0491c747f75f6594f722f0f977f8f27fca1f72f6992d2467d44057bc61/68747470733a2f2f616d63686f72636d732d6173736574732e73332e616d617a6f6e6177732e636f6d2f7377657276655f6c6f676f2e706e67)

ZingFit
=======

[](#zingfit)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1798a9c2da5786247ada09cc5842611eef7f5ed5b1eb3650fa4f4b377a4f0afd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63617065616e646261792f7a696e676669743f7374796c653d706c6173746963)](https://packagist.org/packages/capeandbay/zingfit)[![Total Downloads](https://camo.githubusercontent.com/6d8f401cf6e6466f13779781eaf0594c7541423c99f2b976bae8d36ac055fa72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63617065616e646261792f7a696e676669743f636f6c6f723d677265656e267374796c653d706c6173746963)](https://packagist.org/packages/capeandbay/zingfit)

ZingFit is a platform for Boutique Fitness Clubs with a RESTful API available to premium clients. This package will greatly assist a ZingFit client's Developer with Integration when used with Laravel 6 or 7!

This is a 3rd Party Package not Supported by ZingFit.

Table of Contents
-----------------

[](#table-of-contents)

Click to expand\- \[Installation\](#installation)

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

[](#installation)

> **Note**: Cape &amp; Bay recomends PHP 7.3+ and Laravel/Eloquent 7.x

### Installing CapeAndBay/ZingFit in a Laravel app

[](#installing-capeandbayzingfit-in-a-laravel-app)

Install this package with [composer](https://getcomposer.org/doc/00-intro.md):

```
$ composer require capeandbay/zingfit
```

The package will automatically register itself.

Now, to run this package's migrations, first publish the migrations into your app's `migrations` directory, by running the following command:

```
```
php artisan vendor:publish --tag="zingfit.migrations"
```

```

Finally, run the migrations:

```
```
php artisan migrate
```

```

You can optionally publish the config file with:

```
php artisan vendor:publish --provider="CapeAndBay\ZingFit\ZingFitServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
    'production_url' => 'https://api.zingfit.com',
    'sandbox_url' => 'https://api.zingfitlab.com',
    'client_id' => env('ZINGFIT_CLIENT_ID', '__CLIENT_ID__'),
    'client_secret' => env('ZINGFIT_CLIENT_SECRET', '__SECRET__'),
    'client_tenant_id' => env('ZINGFIT_TENANT_ID', '__TENANT__')
];
```

Note, you will need to add the env variables above to .env file.

Usage
-----

[](#usage)

Use via dependency injection

```
   use CapeAndBay\ZingFit\ZingFit;

   public function __construct(ZingFit $zingfit)
   {
       /*  ... code logic here ...*/
   }
```

On initialization, the ZingFit object will attempt to retrieve the latest non-expired access token. Otherwise it will attempt to ping ZingFit using the ENV variables referenced in the zingfit config.

Here's a demo of how you can use it: You can retrieve all of the Product Series for a Region's Club with the following:

```
    $zingFit->getAllSeriesForSite($region_id, $site_id)
```

Change log
----------

[](#change-log)

7.20.2020 - First Draft.

Testing
-------

[](#testing)

None Available.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- \[Cape &amp; Bay in Tampa, FL\]\[\]
- \[Angel Gonzalez\]\[\]
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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 ~0 days

Total

8

Last Release

2128d ago

### Community

Maintainers

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

---

Top Contributors

[![angelCnb](https://avatars.githubusercontent.com/u/113033745?v=4)](https://github.com/angelCnb "angelCnb (12 commits)")

---

Tags

laravelZingFit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/capeandbay-zingfit/health.svg)

```
[![Health](https://phpackages.com/badges/capeandbay-zingfit/health.svg)](https://phpackages.com/packages/capeandbay-zingfit)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M601](/packages/laravel-ui)[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)

PHPackages © 2026

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