Download the PHP package dcrswoole/framework without Composer

On this page you can find all versions of the php package dcrswoole/framework. 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 framework

整合各种包,基于Swoole 实现的框架

安装

分层 (demo未按此方式)

controller->service ->repository->model

http:

websocket:

console:

crontab:

migrate:

container

路由注解和中间件注解

路由注解 和 中间件注解 以及Inject注解 使用

多个中间件注解

从容器 拿对象 获取 参数

redis 操作

orm model ,使用和laravel orm一致

控制器validate

获取配置 需要use DI\Attribute\Inject

中间件

Console 命令应用 需要在app/Console/Kernel.php 配置 命令类

crontab定时任务 需要在 /config/crontab.php 配置 定时任务

event 事件

listener 监听者

触发事件

或者

切面 aop

文档

https://github.com/guanhui07/dcr-swoole/tree/master/doc

更多例子查看 代码demo

ab 本机macbook pro 压测 Requests per second: 58832.04 [#/sec] (mean)

wrk 压测 Requests/sec: 79540.12

composer依赖组件

关联

参考 hyperf laravel webman 项目

https://github.com/guanhui07/dcr fpm以及workerman实现websocket

https://github1s.com/walkor/webman-framework

https://github1s.com/hyperf/hyperf

https://github1s.com/laravel/laravel

https://github.com/SerendipitySwow/Serendipity-job

https://github.com/sunsgneayo/annotation 路由注解参考

todo:

类似hyperf实现 Command Crontab AutoController Cacheable 等注解

我的其他包:

https://github.com/guanhui07/dcr 借鉴Laravel实现的 PHP Framework ,FPM模式、websocket使用的workerman、支持容器、PHP8特性attributes实现了路由注解、中间件注解、Laravel Orm等特性

https://github.com/guanhui07/redis Swoole模式下 Redis连接池

https://github.com/guanhui07/facade facade、门面 fpm模式下可使用

https://github.com/guanhui07/dcr-swoole-crontab 基于swoole实现的crontab秒级定时任务

https://github.com/guanhui07/timer php定时器,参考了workerman源码 实现一个单进程(守护进程)的定时器。

https://github.com/guanhui07/database 基于 illuminate/database 做的连接池用于适配Swoole的协程环境

https://github.com/guanhui07/dcr-swoole 高性能PHP Framework ,Cli模式,基于Swoole实现,常驻内存,协程框架,支持容器、切面、PHP8特性attributes实现了路由注解、中间件注解、支持Laravel Orm等特性

https://github.com/guanhui07/geohash geohash 用于附近的人

https://github.com/guanhui07/open-ai open-ai chatgpt调用

https://github.com/guanhui07/geohash 附近的人


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0
ext-bcmath Version *
ext-curl Version *
ext-gd Version *
ext-json Version *
ext-libxml Version *
ext-openssl Version *
ext-pcntl Version *
ext-pdo Version *
ext-redis Version *
ext-simplexml Version *
ext-swoole Version >=4.8
doctrine/annotations Version ^2.0
doctrine/migrations Version ^3.5
elasticsearch/elasticsearch Version 7.16
firebase/php-jwt Version ^6.3
gregwar/captcha Version ^1.1
guanhui07/database Version ^1.1
guanhui07/dcr-swoole-crontab Version ^1.1
guanhui07/guzzle Version ^1.2
guanhui07/redis Version ^1.1
hyperf/aop-integration Version ^1.1
hyperf/utils Version 3.0.0
hyperf/di Version 3.0.0
inhere/console Version ^4.1
inhere/php-validate Version ^2.8
intervention/image Version ^2.7
middlewares/utils Version ^3.0
monolog/monolog Version ^2.8
mwangithegreat/faker Version ^1.9
nesbot/carbon Version ^2.6
nikic/fast-route Version ^1.3
opis/closure Version ^3.6
php-amqplib/php-amqplib Version ^3.2
php-di/php-di Version ^7.0
qiniu/php-sdk Version ^7.7
spatie/image Version ^2.2
symfony/event-dispatcher Version ^6.2
symfony/finder Version ^5.0
casbin/casbin Version ^3.20
vlucas/phpdotenv Version ^5.4
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 dcrswoole/framework contains the following files

Loading the files please wait ....