Skip to content

BeMySlaveDarlin/collider

Repository files navigation

Collider

Low-performance event tracking system built with Swoole and Hyperf Framework.

Based on task: https://gist.github.com/BeMySlaveDarlin/102194669142f0d70ce7d0412f2386b9

Requirements

  • PHP 8.3+
  • Swoole 5.0+
  • PostgreSQL 15
  • Redis 7
  • Docker & Docker Compose

Tech Stack

  • Runtime: PHP 8.3 with Swoole 5.0
  • Framework: Hyperf 3.1
  • Database: PostgreSQL 15
  • Cache: Redis 7
  • Web Server: NGINX

Architecture

collider/
├── app/                        # Application code
│   ├── Application/            # Infrastucture and core components
│   ├── Domain/                 # Domain logic
│   │   └── UserAnalytics/      # Analytics domain
│   └── Endpoint/               # HTTP & Console endpoints
├── bin/                        # Executable scripts
├── config/                     # Configuration files
│   └── autoload/               # Container configs
├── docker/                     # Docker configurations
├── docs/                       # Documentation
├── migrations/                 # Database migrations
└── runtime/                    # Runtime files

Quick Start

git clone git@github.com:BeMySlaveDarlin/collider.git
cd collider
make install

Documentation

Features

  • Event tracking and storage
  • User analytics
  • Bulk operations
  • Real-time statistics
  • Coroutine-based processing

License

This project is licensed under the GPL-3.0 License.

About

Just for lulz

Resources

License

Stars

Watchers

Forks

Packages

No packages published