PHPackages                             highperapp/cli - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. highperapp/cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

highperapp/cli
==============

CLI runtime for cron jobs, queue workers, and custom commands for HighPer Framework

00PHP

Since Jul 12Pushed 10mo agoCompare

[ Source](https://github.com/highperapp/cli)[ Packagist](https://packagist.org/packages/highperapp/cli)[ RSS](/packages/highperapp-cli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

HighPer CLI
===========

[](#highper-cli)

CLI runtime for cron jobs, queue workers, and custom commands for HighPer Framework.

Features
--------

[](#features)

- 🚀 **CLI Command Interface**: Command-line interface for HighPer Framework operations
- ⏰ **Advanced Task Scheduling**: Cron-like job scheduling with overlap prevention
- 🔄 **Memory-Optimized Queue Workers**: Multi-process queue processing with automatic restarts
- 📊 **Real-time Monitoring**: Comprehensive status reporting and health checks
- 🎯 **Command Auto-Discovery**: Automatic command registration and management
- 🔧 **Environment Configuration**: Flexible configuration management
- 🔒 **Process Control**: Signal handling and graceful shutdowns
- 📈 **Performance Optimization**: C10M support with Rust FFI acceleration

Installation
------------

[](#installation)

```
composer require highperapp/cli
```

Queue Worker Management
-----------------------

[](#queue-worker-management)

```
# Start single queue worker
bin/highper queue:work redis --queue=default --memory=128M

# Start multiple workers
bin/highper queue:work redis --processes=4 --max-jobs=1000

# Worker with timeout and retry configuration
bin/highper queue:work redis --timeout=3600 --max-tries=3 --delay=60
```

### Task Scheduling

[](#task-scheduling)

```
# Run scheduled tasks
bin/highper schedule:run

# Run with overlap prevention
bin/highper schedule:run --no-overlap --verbose
```

Programming Interface
---------------------

[](#programming-interface)

### Application Setup

[](#application-setup)

```
