webman/think-orm1.1 相当于thinkphp的什么版本

siwei

webman/think-orm1.1 相当于thinkphp的什么版本
这里写问题具体描述
截图
请问这里的think-orm 相当于thinkphp的什么版本

244 2 0
2个回答

mon

可以说2个版本毫无关系

  • siwei 2024-02-17

    我安装的是现在最新的think-orm 版本,但是许多东西与thinphp 哪个版本都对不上<?php
    namespace app\controller;
    use think\facade\View;
    use support\Request;

    class UserController
    {
    public function hello(Request $request)
    {

        View::assign('name','ThinkPHP');
        return view('user/hello');
    }

    }
    hello {$name}

  • siwei 2024-02-17

    结果输出错误:think\facade\View" not found in ** \webman\app\controller\UserController.php:11

  • mon 2024-02-17

    你这个是think-template的模板引擎View类库没找到的,你看下文档先的
    https://www.workerman.net/doc/webman/view.html

Madman

这个1.1只是 webman/thinkphp-orm 这个插件的版本号

  • 暂无评论
🔝