{"id":36995164,"url":"https://github.com/webniucom/webniu","last_synced_at":"2026-01-13T23:47:28.797Z","repository":{"id":283408945,"uuid":"951674469","full_name":"webniucom/webniu","owner":"webniucom","description":"Webniu 网牛引擎是一个基于workerman(异步PHP)+layui(html+js+css)开发的中后台管理系统。","archived":false,"fork":false,"pushed_at":"2025-09-04T11:25:43.000Z","size":4414,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T13:22:40.544Z","etag":null,"topics":["html-css-javascript","php","webman","workerman"],"latest_commit_sha":null,"homepage":"http://www.webniu.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webniucom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-20T04:09:06.000Z","updated_at":"2025-09-04T11:24:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb04035d-3fe3-4b18-92a5-63621391284c","html_url":"https://github.com/webniucom/webniu","commit_stats":null,"previous_names":["webniucom/webniu"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/webniucom/webniu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webniucom%2Fwebniu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webniucom%2Fwebniu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webniucom%2Fwebniu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webniucom%2Fwebniu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webniucom","download_url":"https://codeload.github.com/webniucom/webniu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webniucom%2Fwebniu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html-css-javascript","php","webman","workerman"],"created_at":"2026-01-13T23:47:28.732Z","updated_at":"2026-01-13T23:47:28.792Z","avatar_url":"https://github.com/webniucom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webniu 网牛引擎\nwebniu 网牛引擎是一个基于workerman(异步PHP)+layui(html+js+css)开发的中后台管理系统，它有传统框架基本的功能，小巧轻便开箱即用，用户安装后可以通过自定义模块生成器创建自己的应用程序。  \n\n**现在都非常流行vue、react等前端框架，我觉得还是适合单应用，每次一个版本都需要编译打包，而且开发者们的应用安装后还需要跟主应用集成重新打包（动态加载也不理想），这一点是非常麻烦的（或许有好的解决方法我不知道），所以我还是选择了传统的方式，layui简单易用，而且不需要编译打包，直接可以部署到服务器上。**\n\n**功能内容** \n* 1、模块安装向导。\n* 2、系统设置-基本设置-账户设置-附件设置-图片水印-页面样式DIY-接口配置。\n* 3、灵活的多级菜单管理。\n* 4、附件管理-图片管理-文件管理-视频管理-音频管理，支持远程：本地、FTP、七牛、阿里云、腾讯云存储扩展。\n* 5、邮件发送、短信发送。\n* 6、后端账户管理、权限管理、独立数据。\n* 7、前端会员管理、权限管理，可扩展API。\n* 8、应用插件，可快速配置生成打包出zip应用包，支持本地安装、升级、卸载。\n* 9、应用权限，可灵活配置应用权限，独立登录。\n----\n最后一次更新\n* 本次更新内容：v1.1.2\n* 1、完善了基础小细节。\n* 2025-10-13 18:15:21\n## 安装环境\n```\nPHP \u003e= 8.1\nMySQL \u003e= 5.7\ncomposer \u003e= 2.5.8\n```\n```\nPHP 需要安装扩展 redis、event、fileinfo\nPHP 需要解除禁用函数找到配置文件 php.ini ，找到 disable_functions 并去掉以下函数前面的分号；\n```\n```\ndisable_functions = passthru,system,chroot,chgrp,chown,popen,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_waitpid,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv\n```\n## 先升级composer\n```\ncomposer self-update\n```\n## 安装 webman 主框架\n```\ncomposer create-project workerman/webman:~2.0\n```\n## composer如报错\n```\n提示\n1、如果报错用了有问题的composer镜像代理，请执行 composer config -g --unset repos.packagist 取消代理。\n2、或者使用腾讯云composer镜像 composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/\n3、腾讯composer镜像 https://mirrors.cloud.tencent.com/help/composer.html 文档\n```\n## 进入目录\n```\ncd webman\n```\n## 在安装 webniu\n```\ncomposer require webniucom/webniu\n```\n## 注意事项\n```\n1. 安装后给目录权限，否则启动容易报错！；\n2. 宝塔异步项目运行需要检查运行权限账户；\n3. 安装后默认webman的端口在根目录config/process.php查看\n4. 默认端口是：8787\n5. 启动命令，例如：php start.php start 开发者模式 php start.php start -d 守护进程；\n5. 启动命令可以指定用户启动，例如：sudo -u www php start.php start  以www运行；\n```\n## 启动\n```\nphp start.php start\n```\n## 访问\n```\nhttp://ip地址:8787/webniu\n```\n## 安装事项\n```\n1. 首次会弹出安装向导，按照提示安装即可；\n2. 第二步会检查目录权限，可以忽略跳过不影响安装；\n3. 如需重新安装可删除config/database.php、thinkorm.php文件，然后重新安装；\n```\n## 绑定域名访问\n```\n绑定域名，需要在配置文件中设置伪静态参数：\n```\n```\n# 将请求转发到webman\n  location ^~ / {\n      proxy_set_header Host $http_host;\n      proxy_set_header X-Forwarded-For $remote_addr;\n      proxy_set_header X-Forwarded-Proto $scheme;\n      proxy_set_header X-Real-IP $remote_addr;\n      proxy_http_version 1.1;\n      proxy_set_header Connection \"\";\n      if (!-f $request_filename){\n          # 如果你的端口修改了，记得要修改这里的端口号\n          proxy_pass http://127.0.0.1:8787;\n      }\n  }\n\n  # 拒绝访问所有以 .php 结尾的文件\n  location ~ \\.php$ {\n      return 404;\n  }\n\n  # 允许访问 .well-known 目录\n  location ~ ^/\\.well-known/ {\n    allow all;\n  }\n\n  # 拒绝访问所有以 . 开头的文件或目录\n  location ~ /\\. {\n      return 404;\n  }\n```\n## 生产访问后台入口\n```\nhttp://你的域名/webniu\n```\n## 使用文档\n```\nhttps://help.webniu.com 制作中未上线\n```\n## 更多插件\n```\nhttps://app.webniu.com 制作中未上线\n```\n\n \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebniucom%2Fwebniu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebniucom%2Fwebniu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebniucom%2Fwebniu/lists"}