Download the PHP package kg-bot/laravel-tikfinity-webhooks without Composer

On this page you can find all versions of the php package kg-bot/laravel-tikfinity-webhooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-tikfinity-webhooks

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

TikFinity Webhooks

This package provides a set of webhooks for TikFinity, allowing you to easily integrate TikTok LIVE events into your application.

Installation

You can install the package via Composer:

Configuration

After installing the package, you need to publish the configuration file:

This will create a tikfinity-webhooks.php file in your config directory. You can customize the configuration as needed.

Migrations

You can publish the migrations using the following command:

Routes

The package provides a set of routes for handling TikTok webhooks. You can find the routes in the routes/web.php file. You can customize the routes as needed.

Usage

You can use the webhooks in your application to handle TikTok LIVE Gift and LIVE comment events.

To handle the events, you should configure the pipes in your tikfinity-webhooks.php configuration file. The package provides a set of example pipes that you can use to handle the events. You can also create your own pipes to handle the events as needed.

Profile

You can use the KgBot\TikfinityWebhooks\Models\TikTokProfile model to save TikTok profile information.

Example

You can use the package to handle TikTok LIVE Gift and LIVE comment events. Here is an example of how to handle a LIVE Gift event:

Create a Pipe

You can create a pipe to handle the LIVE Gift event. Here is an example of a pipe that verifies if the event is a gift event:

Each pipe should implement the PipeContract interface and define the handle method. The handle method receives the WebhookData object and a closure to pass the data to.

Register the Pipe

You can register the pipe for each event in the tikfinity-webhooks.php configuration file by overwriting the pipes array. Here is an example of how to register the VerifyGiftWebhook pipe for the gift event:

Testing

License

This package is open-sourced software licensed under the MIT license.

Contributing

If you want to contribute to this package, feel free to open a pull request or create an issue. Your contributions are welcome!

Support

If you have any questions or need support, you can open an issue on the GitHub repository or contact me directly.


All versions of laravel-tikfinity-webhooks with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/collections Version ^12.14
illuminate/http Version ^12.14
illuminate/database Version ^12.14
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kg-bot/laravel-tikfinity-webhooks contains the following files

Loading the files please wait ...