WhyCan Forum(哇酷论坛)

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132, 微信: whycan_cn (哇酷网/挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2020-01-24 13:50:16

pythinker
会员
注册时间: 2019-02-12
累计积分: 124

Windows thinkphp 开发. composer & wamp & phpstorm

1. composer 下载安装: https://getcomposer.org/download/
   Windows版本直接下载地址: https://getcomposer.org/Composer-Setup.exe

2. wamp 下载地址: wampserver3.2.0_x64.exe

3. phpstorm 下载地址: https://www.tpxhm.com/odetail/203.html

离线

#2 2020-01-24 14:14:25

pythinker
会员
注册时间: 2019-02-12
累计积分: 124

Re: Windows thinkphp 开发. composer & wamp & phpstorm

上面那个 phpstorm 破解的原理是模拟一个 license 服务器, phpstorm连上license服务器就可以了.

离线

#3 2020-01-24 15:03:39

pythinker
会员
注册时间: 2019-02-12
累计积分: 124

Re: Windows thinkphp 开发. composer & wamp & phpstorm

composer create-project topthink/think  ./ 6.0.2

composer update topthink/framework

#如果上面的命令卡住不动, 就切换阿里云源#
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

离线

#4 2020-01-24 15:09:04

pythinker
会员
注册时间: 2019-02-12
累计积分: 124

Re: Windows thinkphp 开发. composer & wamp & phpstorm

QQ截图20200124150842.png

离线

#5 2020-02-06 23:27:55

phpweb
会员
注册时间: 2020-02-05
累计积分: 48

Re: Windows thinkphp 开发. composer & wamp & phpstorm

感谢楼主分享.

#0 [0]InvalidArgumentException in Manager.php line 103
Driver [Think] not supported.
    {
        if ($this->namespace || false !== strpos($type, '\\')) {
            $class = false !== strpos($type, '\\') ? $type : $this->namespace . Str::studly($type);

            if (class_exists($class)) {
                return $class;
            }
        }

        throw new InvalidArgumentException("Driver [$type] not supported.");
    }

    /**
     * 获取驱动参数
     * @param $name
     * @return array
     */
    protected function resolveParams($name): array
    {

QQ截图20200206232500.png


QQ截图20200206232644.png

运行命令:
composer require topthink/think-view

解决上面的驱动问题.

离线

页脚