The first high-performance PHP coroutine full-stack componentization framework based on Swoole native coroutine, built-in coroutine web server and commonly-used coroutine client, resident memory, which has no dependency on PHP-FPM, asynchronous non-blocking IO implementation, similar to synchronous client style of writing to achieve the use of asynchronous clients, without complex asynchronous callback, no tedious yield, similar Go language coroutines, flexible annotations framework, a powerful global dependency injection container base on annotations, and great service governance , flexible and powerful AOP, PSR specification implementation, etc., could be used to build high-performance Web systems, APIs, middleware, basic services, microservice and so on. Chinese Document English Document Not yet, please help us write it.
https://www.swoft.orgTags | swoole coroutine microservice framework psr-7 psr-14 psr-16 aop annotation-framework rpc |
Implementation | PHP |
License | Apache |
Platform | Windows Linux |
Hyperf is an extremely performant and flexible PHP CLI framework based on Swoole 4.5+, powered by the state-of-the-art coroutine server and a large number of battle-tested components. Aside from the decisive benchmark outmatching against PHP-FPM frameworks, Hyperf also distinct itself by its focus on flexibility and composability. Hyperf ships with an AOP-enabling dependency injector to ensure components and classes are pluggable and meta programmable. All of its core components strictly follow the PSR standards and thus can be used in other frameworks. Hyperf's architecture is built upon the combination of Coroutine, Dependency injection, Events, Annotation, AOP (aspect-oriented programming). Core components provided by Hyperf can be used out of the box in coroutine context. The set includes but not limited to: MySQL coroutine client, Redis coroutine client, WebSocket server and client, JSON RPC server and client, gRPC server and client, Zipkin/Jaeger (OpenTracing) client, Guzzle HTTP client, Elasticsearch client, Consul client, ETCD client, AMQP component, Apollo configuration center, Aliyun ACM, ETCD configuration center, Token bucket algorithm-based limiter, Universal connection pool, Circuit breaker, Swagger, Swoole Tracker, Snowflake, Simply Redis MQ, RabbitMQ, NSQ, Nats, Seconds level crontab, Custom Processes, etc. Be assured Hyperf is still a PHP framework. You will also find familiar packages such as Middleware, Event Manager, Coroutine optimized Eloquent ORM (And Model Cache!), Translation, Validation, View engine (Blade/Smarty/Twig/Plates/ThinkTemplate) and more at your command.
framework microservice consul apollo-client websocket amqp dependency-injection annotations grpc json-rpc etcd psr-7 swoole aop opentracing psr-15 zipkin coroutine psr-14 hyperfThis middleware implements JSON Web Token Authentication. It was originally developed for Slim but can be used with any framework using PSR-7 style middlewares. It has been tested with Slim Framework and Zend Expressive. Middleware does not implement OAuth 2.0 authorization server nor does it provide ways to generate, issue or store authentication tokens. It only parses and authenticates a token when passed via header or cookie. This is useful for example when you want to use JSON Web Tokens as API keys.
middleware jwt psr-7 token-authentication psr-15We provide two ways to install Expressive, both using Composer: via our skeleton project and installer, or manually. The simplest way to install and get started is using the skeleton project, which includes installer scripts for choosing a router, dependency injection container, and optionally a template renderer and/or error handler. The skeleton also provides configuration for officially supported dependencies.
php71 psr-7 psr-15 psr-11 middleware middleware-pipeline microframework microservice zend-framework zend-expressiveSiler is a set of general purpose high-level abstractions aiming an API for declarative programming in PHP. That is it. Actually, Siler is a library, not a framework (maybe a micro-framework), the overall program flow of control is dictated by you. So, no hidden configs or predefined directory structures.
micro-framework routing http library psr-2 psr-4 psr-7 psr-11 phpstan graphql composer websockets functionalThis middleware implements HTTP Basic Authentication. It was originally developed for Slim but can be used with all frameworks using PSR-7 style middlewares. It has been tested with Slim Framework and Zend Expressive. Install latest version using composer.
middleware authentication psr-7This component provides an extended PSR-6 implementation for adding cache to your applications. It is designed to have a low overhead so that caching is fastest. It ships with a few caching adapters for the most widespread and suited to caching backends. It also provides a doctrine/cache proxy adapter to cover more advanced caching needs and a proxy adapter for greater interoperability between PSR-6 implementations.
symfony component symfony-component cache psr-16 caching psr-6Why do we need to build a PHP framework by ourself? Maybe the most of people will say "There have so many PHP frameworks be provided, but we still made a wheel?". My point is "Made a wheel is not our purpose, we will get a few of knowledge when making a wheel which is our really purpose".
framework php-framework php-vue easy-php api-gateway easyphp orm php-cli gateway php-frameworks php-learning vue2 php-scripts psr psr-2 psr-4 lightweightThis package is compliant with PSR-1, PSR-2, PSR-4, PSR-7 and PSR-11. If you notice compliance oversights, please send a patch via pull request.The following versions of PHP are supported by this version.
routing fastrouteHTTPlug, the HTTP client abstraction for PHP. HTTP client standard built on PSR-7 HTTP messages. The HTTPlug client interface is compatible with the official standard for the HTTP client interface, PSR-18. HTTPlug adds an interface for asynchronous HTTP requests, which PSR-18 does not cover.
http http-client httpclient psr-18A PHP_CodeSniffer sniff to check against the PSR-0, PSR-1 and PSR-2
Provides integration for PSR7.
symfony psr-7 http-message bridge symfony-bridgeRoadRunner is an open source (MIT licensed), high-performance PHP application server, load balancer and process manager. It supports running as a service with the ability to extend its functionality on a per-project basis. RoadRunner includes PSR-7/PSR-17 compatible HTTP and HTTP/2 server and can be used to replace classic Nginx+FPM setup with much greater performance.
php7 application-server workers load-balancer supervisor psr-7 http http2 http2-pushThis repository holds all interfaces/classes/traits related to PSR-7. Note that this is not a HTTP message implementation of its own. It is merely an interface that describes a HTTP message. See the specification for more details.
psr php-fig httpCakePHP is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. If you’ve found a security issue in CakePHP, please use the following procedure instead of the normal bug reporting system. Instead of using the bug tracker, mailing list or IRC please send an email to security [at] cakephp.org. Emails sent to this address go to the CakePHP core team on a private mailing list.
cakephp mvc-framework psr-7 orm mvc validation rest-api web web-framework rapid-development form-builderSlim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. Slim provides a fast and powerful router that maps route callbacks to specific HTTP request methods and URIs. It supports parameters and pattern matching. Slim supports any PSR-7 HTTP message implementation so you may inspect and manipulate HTTP message method, status, URI, headers, cookies, and body.
php-framework web-framework framework micro-service psr7This package supercedes and replaces phly/http. zend-diactoros is a PHP package containing implementations of the accepted PSR-7 HTTP message interfaces, as well as a "server" implementation similar to node's http.Server.
This repository contains a full PSR-7 message implementation, several stream decorators, and some helpful functionality like query string parsing. This package comes with a number of stream implementations and stream decorators.
This package can validate PSR-7 messages against OpenAPI (3.0.x) specifications expressed in YAML or JSON. This would simplify validation a lot and give you more performance.
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. It can do both synchronous and asynchronous requests using the same interface, It supports simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc, Uses PSR-7 interfaces for requests, responses, and streams.
httpclient curl webservices psr-7 http-client rest-client httpFactory interfaces for PSR-7 HTTP Message. Please see the official documentation.
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.