Download the PHP package highperapp/highper-php without Composer
On this page you can find all versions of the php package highperapp/highper-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download highperapp/highper-php
More information about highperapp/highper-php
Files in highperapp/highper-php
Package highper-php
Short Description High-performance asynchronous PHP micro framework targeting C10M concurrency with maximum simplicity and peak performance
License MIT
Homepage https://github.com/highperapp/highper-php
Informations about the package highper-php
HighPer Framework
Enterprise PHP framework designed for high-scale production applications.
๐ Quick Start
๐๏ธ Hybrid Multi-Process + Async Architecture
Core Design: Combines process isolation with async I/O efficiency
- Multi-process worker spawning using
pcntl_fork()
- RevoltPHP + UV hybrid event loop per worker
- Zero-downtime deployments with blue-green/rolling strategies
- C10M optimizations for 10 million concurrent connections
- Rust FFI integration for performance-critical components
Advanced CLI Features
๐๏ธ Architecture
Core Design Principles
- Interface-Driven: All contracts defined as interfaces (NO abstract classes)
- External Dependencies: Foundation components as external packages
- Service Providers: Package integration via auto-discovery
- Extension-Friendly: Everything extendable (NO final keywords)
- Rust FFI Enhancement: Strategic performance boosts where needed
Foundation Components
๐ฆ Package Ecosystem
HighPer Framework supports 18+ standalone packages that can be used independently:
Foundation Packages (Required):
highperapp/container
: PSR-11 container optimized for C10Mhighperapp/router
: Ultra-fast router with O(1) lookups + Rust FFIhighperapp/zero-downtime
: Zero-downtime deployment system
Optional Standalone Libraries:
highperapp/cache
: Multi-driver async caching with Redis/Memcachedhighperapp/cli
: Command-line interface frameworkhighperapp/crypto
: Cryptographic operations with Rust FFIhighperapp/database
: Async database with EventSourcing/CQRShighperapp/grpc
: gRPC server integrationhighperapp/monitoring
: Performance monitoring and metricshighperapp/paseto
: PASETO v4 tokens with Rust FFIhighperapp/realtime
: Real-time communication protocolshighperapp/security
: Security enhancements and validationhighperapp/spreadsheet
: High-performance spreadsheet manipulationhighperapp/stream-processing
: Stream processing capabilitieshighperapp/tcp
: TCP server and client implementationshighperapp/tracing
: Distributed tracing and observabilityhighperapp/validator
: Data validation with Rust FFIhighperapp/websockets
: WebSocket streaming with backpressure
๐ฆ Rust FFI Integration
Strategic Rust components provide massive performance gains:
- Router: 10-50x improvement (O(1) radix tree vs PHP regex)
- Crypto: 5-20x improvement (native operations vs PHP)
- PASETO: 3-10x improvement (vs PHP JWT libraries)
- Validator: 2-5x improvement (native regex + validation)
๐ Project Structure
๐ Quick Start
Installation
Basic Usage
With Rust FFI Performance
๐งช Comprehensive Testing
Professional test suite covering all architecture components:
Test Coverage
- Unit Tests: ProcessManager, HybridEventLoop, ArchitectureValidator
- Integration Tests: CLI commands, multi-process architecture
- Performance Tests: C10M optimizations, memory efficiency
- Concurrency Tests: Thread safety, race condition prevention
๐ Key Implementation Files
๐ง Requirements
- PHP: 8.3+ with pcntl, posix extensions
- Extensions: FFI (optional, for Rust components), OPcache
- Memory: 256MB+ per worker
- OS: Linux (recommended), macOS, Windows
๐ License
MIT License. See LICENSE file for details.
๐ค Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
Built with โค๏ธ for C10M performance and maximum simplicity from Hyderabad, India.
All versions of highper-php with dependencies
revolt/event-loop Version ^1.0
amphp/amp Version ^3.0
amphp/http-server Version ^3.0
amphp/parallel Version ^2.0
vlucas/phpdotenv Version ^5.0
filp/whoops Version ^2.0
psr/container Version ^2.0
psr/log Version ^3.0
highperapp/container Version ^1.0
highperapp/router Version ^1.0
highperapp/zero-downtime Version ^1.0