Download the PHP package tourze/wechat-mini-program-stats-bundle without Composer

On this page you can find all versions of the php package tourze/wechat-mini-program-stats-bundle. 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 wechat-mini-program-stats-bundle

WeChat Mini Program Stats Bundle

中文

PHP Version Latest Version License

This bundle provides comprehensive statistics collection and analysis for WeChat Mini Programs using the WeChat official API.

Table of Contents

Installation

Requirements

Features

Configuration

1. Enable the Bundle

Add the bundle to your config/bundles.php:

2. Configure Database

Run the migrations to create the required tables:

3. WeChat API Configuration

Ensure you have configured the WeChat Mini Program API credentials in your main application configuration.

Quick Start

Set Up Cron Jobs

The bundle includes automated data collection commands that can be scheduled:

Available Commands

Data Collection Commands

User Analytics Commands

Performance Commands

Page Analytics Commands

JSON-RPC Procedures

The bundle provides several JSON-RPC procedures for accessing statistics data:

Visit Trend Procedures

User Analytics Procedures

Page & Retention Procedures

Entity Overview

The bundle provides the following entities for data storage:

Usage Examples

Collecting Daily Statistics

Accessing Statistics Data

Advanced Usage

Custom Data Processing

You can extend the bundle's functionality by creating custom commands or services that utilize the existing repositories and entities. The bundle is designed to be flexible and extensible.

Performance Monitoring

The bundle includes comprehensive performance monitoring capabilities that can help you track and optimize your WeChat Mini Program's performance metrics.

Testing

This bundle includes comprehensive test coverage with both unit and integration tests.

Running Tests

Test Structure

All tests follow the PSR standards and include comprehensive assertions for both happy path and edge cases.

Security

If you discover any security vulnerabilities, please report them via GitHub Issues.

Contributing

We welcome contributions! Here's how you can help:

Reporting Issues

Submitting Pull Requests

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-feature
  3. Make your changes with appropriate tests
  4. Ensure all tests pass: ./vendor/bin/phpunit packages/wechat-mini-program-stats-bundle/tests
  5. Run PHPStan analysis: php -d memory_limit=2G ./vendor/bin/phpstan analyse packages/wechat-mini-program-stats-bundle
  6. Submit a pull request with clear description

Code Standards

Changelog

Version 0.1.x

License

This bundle is released under the MIT license. See the included LICENSE file for more information.


All versions of wechat-mini-program-stats-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
doctrine/collections Version ^2.3
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^3.1 || ^4
monolog/monolog Version ^3.1
nesbot/carbon Version ^2.72 || ^3
psr/log Version ^3|^2|^1
symfony/config Version ^6.4
symfony/console Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/doctrine-bridge Version ^6.4
symfony/event-dispatcher-contracts Version ^2.5 | ^3
symfony/framework-bundle Version ^6.4
symfony/http-kernel Version ^6.4
symfony/security-core Version ^6.4
symfony/serializer Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/arrayable Version 0.0.*
tourze/doctrine-snowflake-bundle Version 0.1.*
tourze/doctrine-timestamp-bundle Version 0.0.*
tourze/doctrine-upsert-bundle Version 0.1.*
tourze/enum-extra Version 0.1.*
tourze/json-rpc-cache-bundle Version 0.1.*
tourze/json-rpc-core Version 0.0.*
tourze/json-rpc-log-bundle Version 0.1.*
tourze/symfony-cron-job-bundle Version 0.1.*
tourze/symfony-lock-command-bundle Version 0.0.*
tourze/wechat-mini-program-bundle Version 0.1.*
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 tourze/wechat-mini-program-stats-bundle contains the following files

Loading the files please wait ...