Download the PHP package pingo/swoolapp without Composer

On this page you can find all versions of the php package pingo/swoolapp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package swoolapp

pingswoole

pingswoole是一个基于swoole实现的轻量级高性能的常驻内存型的协程级应用服务框架, 高度支持httpApi,websocket,udp服务器,以及基于tcp实现可扩展的rpc服务, 同时支持composer包方式安装部署项目。基于实用,swoolefy抽象Event事件处理类, 实现与底层的回调的解耦,支持协程调度,同步|异步调用,全局事件注册,心跳检查,异步任务,多进程(池),连接池等, 内置view、log、session、mysql、redis、mongodb等常用组件等。

目前swoolefy4.2+版本完全支持swoole4.4.+的协程,最高支持最新版的swoole4.4.+,推荐使用swoole4.4.8+.

基于swoole框架对api接口开发中造的一些常用的轮子,记录一下,不断完善中! @author pingo([email protected])

主要特性

安装

环境要求

php         >= 7.3
swoole      >= 4.5.0
Redis
Kafka
Mysql|Mariadb
EleasticSearch
#依赖安装

 composer install && composer dump-autoload

## 服务启动

php bin/pingswoole server:start -d

## 目录结构说明

Test 项目部署目录 ├─App 应用目录 │ ├─HttpController 控制器目录(需要自己创建) │ │ ├─Test Test模块 │ │ │ ├─V1 版本 │ ├─Logic 逻辑层,复杂的数据库操作写到这一层 │ ├─Model 数据库模型层 │ ├─Service 服务层,复杂的业务处理写到这一层 │ ├─Task 异步Task任务处理层 | ├─Crontab 定时任务计划 | ├─Process 自定义进程 | ├─Lang 多语言 | ├─Command 自定义命令行 │ ├─Utility 工具层 │ │ ├─Pool 协程连接池(mysql和redis) │ ├─Validate 验证层 ├─runtime 运行时文件夹 | |log tmp 临时文件目录(启动后创建) ├─vendor 第三方类库目录 ├─composer.json Composer架构 ├─composer.lock Composer锁定


##功能介绍

## 框架定位

专注打造稳定高性能纯异步基于HTTP的微服务框架,作为nginx+php-fpm的替代技术栈实现架构的微服务化;而Tcp/WebSocket Server将作为插件的形势支持,或者作为其他独立的开源项目。

对于微小型团队或者业务系统我们建议还是采用传统的nginx+php-fpm技术栈,对于成本和性能来说没有瓶颈,也就完全没有必要引入全新的技术栈。

对于中小型团队或者业务系统,处在服务治理或者服务化演进的重要阶段,性能和扩展是解决方案首先维护。

外包项目的瓶颈:业务复杂、需求变化百态、开发周期短、开发费用低、性能安全要求高。

## 项目原则

* 稳定
* 高性能
* 简单
* 安全

## 添加定时器监测服务是否正常

docker环境下,在宿主机用crontab

* * * * * docker exec php73 sh -c "/www/app/check_swoole.sh"

## License

All versions of swoolapp with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
endroid/qr-code Version ^3.9
pingo/framework Version ^2.0
yansongda/pay Version ^2.10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pingo/swoolapp contains the following files

Loading the files please wait ....