initial: bootstrap from BukidBountyApp base

This commit is contained in:
Jonathan Sykes
2026-06-06 18:43:00 +08:00
commit eb4a5731fb
5674 changed files with 160857 additions and 0 deletions

3
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
# These are supported funding model platforms
ko_fi: hypervel

39
.github/ISSUE_TEMPLATE/Bug_report.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Bug Report
description: "Only report the bug of the framework skeleton here. For bugs in the framework, you should click the link below:"
body:
- type: markdown
attributes:
value: "Please read [our full contribution guide](https://hypervel.org/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Hypervel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem."
- type: input
attributes:
label: PHP Version
description: Provide the PHP version that you are using.
placeholder: 8.4.3
validations:
required: true
- type: input
attributes:
label: Swoole Extension Version
description: Provide the Swoole extension version that you are using (You can get it by running `php --ri swoole`).
placeholder: 5.1.6
validations:
required: true
- type: input
attributes:
label: Database Driver & Version
description: If applicable, provide the database driver and version you are using.
placeholder: "MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)"
validations:
required: false
- type: textarea
attributes:
label: Description
description: Provide a detailed description of the issue you are facing.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue.
validations:
required: true

14
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Bug Report (Framework)
url: https://github.com/hypervel/components/issues
about: "Report something that's broken in the framework."
- name: Feature Request
url: https://github.com/hypervel/components/discussions
about: 'For ideas or feature requests, start a new discussion.'
- name: Support Questions & Others
url: https://github.com/hypervel/components/discussions
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:'
- name: Documentation Issues
url: https://github.com/hypervel/hypervel.org
about: For documentation issues, open a pull request at the hypervel.org repository.

25
.github/release.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
changelog:
exclude:
labels:
- ignore-for-release
- github-actions
authors:
- octocat
- dependabot
categories:
- title: Breaking Changes 🛠
labels:
- breaking-change
- title: New Features 🎉
labels:
- feature
- title: Improvements 🔧
labels:
- enhancement
- improvement
- title: Bug fixes 🐛
labels:
- bug
- title: Other Changes 🔄
labels:
- "*"

39
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: tests
on:
push:
pull_request:
jobs:
linux_tests:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
strategy:
fail-fast: true
matrix:
include:
- php: "8.2"
swoole: "5.1.6"
- php: "8.3"
swoole: "5.1.6"
- php: "8.4"
swoole: "6.0"
name: PHP ${{ matrix.php }} (swoole-${{ matrix.swoole }})
container:
image: phpswoole/swoole:${{ matrix.swoole }}-php${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist -n -o
- name: Execute tests
run: |
PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --diff
vendor/bin/phpunit -c phpunit.xml.dist