dandysi / laravel-openswoole-stats
A laravel package to expose Open Swoole metrics to a scraping service like Prometheus
Installs: 45
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/dandysi/laravel-openswoole-stats
Requires
- php: ^8.1
- ext-openswoole: >=22.0
- illuminate/console: ^10.37|^11.0
- illuminate/support: ^10.37|^11.0
- openswoole/core: ^22.0.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.42
- orchestra/testbench: ^8.18|^9.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2025-10-09 22:33:00 UTC
README
If you are using Laravel Octane, this package allows you to expose your Open Swoole stats to a scraping service like Prometheus. Once installed you can access the metrics at the /openswoole-stats endpoint of your app.
Install
Install the package via composer:
composer require dandysi/laravel-openswoole-stats
Config
php artisan vendor:publish --provider="Dandysi\Laravel\OpenSwooleStats\OpenSwooleStatsServiceProvider"
Configure this package by changing the values in config/openswoole-stats.php.
License
Open-sourced software licensed under the MIT license.