carno-php/framework

Framework components collection

dev-master / 1.0.x-dev 2019-04-04 17:40 UTC

README

All-in-one collection

Installation

composer require carno-php/framework

Components

Core

container

Dependency injection implements PSR-11

coroutine

Native coroutine with yield for php7

promise

Promises/A+ implements with addition commands e.g. race, all

channel

Async piped works made simple

chain

Extensional logic layers for request/response flows

timer

Discovery

consul

Service registry/discovery and kv-store

DevOps

monitor

Prometheus metrics pull/push

tracing

OpenTracing collector

traced

Jaeger/zipkin platform

log

Dynamic logging format/receiver and supports logs replication

Resources

config

Dynamic config in-flight, backend supports Consul

cluster

Clustered resources made easy

pool

Connection pool for everything

Servers

console

Application startup based chip

serving

Shared server features

web

Flexible routes and controller powered

RPC

rpc

RPC protocol base

hrpc

HTTP based RPC server

hrpcc

HTTP based RPC client

hrpca

Accelerated network with TCP for HRPC

Network

net

Base types and APIs contracted

dns

DNS resolver

psr7

PSR-7 standard implements

http

includes Client/Server/WebSocket

socket

TCP/UDP socket

Queue

nsq

Publish/consuming with cluster, configurable for online migrating

Storage

database

Supports MySQL

redis

Supports Redis

mysql

SQL builder for MySQL

cache

Multi-backend and pure cache API

Utils

dsn

DSN parser

env

ENV parser

i18n

process

Multi-process coordination framework

shaping

Token-Bucket based shaping control

validator