Download the PHP package capeandbay/zingfit without Composer
On this page you can find all versions of the php package capeandbay/zingfit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download capeandbay/zingfit
More information about capeandbay/zingfit
Files in capeandbay/zingfit
Package zingfit
Short Description A Laravel Package for ZingFit-enabled Projects.
License MIT
Homepage https://github.com/capeandbay-devs/ZingFit
Informations about the package zingfit
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
Click to expand
- [Installation](#installation)
Installation
Note: Cape & Bay recomends PHP 7.3+ and Laravel/Eloquent 7.x
Installing CapeAndBay/ZingFit in a Laravel app
Install this package with composer:
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:
Finally, run the migrations:
You can optionally publish the config file with:
This is the contents of the published config file:
Note, you will need to add the env variables above to .env file.
Usage
Use via dependency injection
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:
Change log
7.20.2020 - First Draft.
Testing
None Available.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- [Cape & Bay in Tampa, FL][https://github.com/capeandbay-devs]
- [Angel Gonzalez][https://github.com/projectsaturnstudios]
- All Contributors
License
license. Please see the license file for more information.
All versions of zingfit with dependencies
ixudra/curl Version ^6.19
goldspecdigital/laravel-eloquent-uuid Version ^6.0