webman icon indicating copy to clipboard operation
webman copied to clipboard

Probably the fastest PHP web framework in the world.

Results 94 webman issues
Sort by recently updated
recently updated
newest added

Would be great if we could add extensions somehow in config without modifying the actual /support/view/Twig.php file >> public static function render($template, $vars, $app = null) { static $views =...

请问如何修改请求参数,并可以对后续别的方法起到影响 举例: 数据查询时,如果没有传递排序字段,就按照主键倒序排。 尝试过在 layui.table.render 方法中传递 where,但是点击搜索的时候不会传递这个 有没有办法,在控制器或者哪里修改参数,并且对后续产生影响

项目基于webman构建,但是需要使用php构建websocket的服务器和客户端,由于这两个不是主要比重,所以就放在了webman的项目中,根目录下server.php require 'vendor/autoload.php'; requrire 'support/bootstrap.php'; 省略服务端启动代码等 php server.php 每次都会提示输入参数,什么start stop status等等的webman的提示信息,请问如何解决。感谢

I'm encountering challenges while attempting to deploy my project on shared hosting that lacks SSH or shell access. Without these fundamental tools, traditional deployment methods seem unfeasible. I'm seeking guidance...

### Add global auxiliary function `ini` to read configuration files gracefully - ini(null) returns all configurations - ini('MYSQL','Default value') returns the first-level configuration [array] - ini('MYSQL.HOST') returns the third-level configuration...

场景如下 正常控制器写法 ![image](https://github.com/walkor/webman/assets/37436228/4005cab9-445f-4a9c-839f-70d7270b5732) 这时候请求该接口,我在统一中间件中获取 $request->action ,得到 getUserInfo 目前为止正常 下面开始异常 ![image](https://github.com/walkor/webman/assets/37436228/beffec9a-afbc-4837-9645-fd82156531d4) 用PHP的魔术方法去调用 getUserInfo ,这时候中间件的 $request->action 返回 getuserinfo 到这里的时候逻辑开始出错了...

当前MongoDb使用的是jenssegers/mongodb 而且好像没维护了 最新的是mongodb/laravel-mongodb 这个功能比较完善

![76TUJZODQ722P@`J F({V1S](https://github.com/walkor/webman/assets/43921493/eacef126-4ce8-4dac-bc52-91de2b6afac4) 上面图片是逻辑``示例`` 真实情况是 接收到用户特定的数据 开启定时任务 是有条件限制的 链接用户多的情况下 出现了 redis队列数据混读的情况

```php UnexpectedValueException: RecursiveDirectoryIterator::__construct(/mnt/hgfs/test/webman/config/app.php): Failed to open directory: Not a directory in /mnt/hgfs/test/webman/vendor/workerman/webman-framework/src/Config.php:191 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct() #1 /mnt/hgfs/test/webman/vendor/workerman/webman-framework/src/Config.php(191): RecursiveDirectoryIterator->getChildren() #2 /mnt/hgfs/test/webman/vendor/workerman/webman-framework/src/Config.php(63): Webman\Config::loadFromDir() #3 /mnt/hgfs/test/webman/vendor/workerman/webman-framework/src/support/App.php(141): Webman\Config::load() #4 /mnt/hgfs/test/webman/support/bootstrap.php(48): support\App::loadAllConfig()...

php -v PHP 8.1.25 (cli) (built: Dec 10 2023 10:48:11) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.25, Copyright (c) Zend Technologies php -m [PHP Modules] calendar Core date...