您尚未登录。

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

pythinker
会员
注册时间: 2019-02-12
已发帖子: 215
积分: 215

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

参考链接: https://www.jianshu.com/p/22c88181e78d

参考链接: https://article.itxueyuan.com/566k90

离线

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

pythinker
会员
注册时间: 2019-02-12
已发帖子: 215
积分: 215

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

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

离线

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

pythinker
会员
注册时间: 2019-02-12
已发帖子: 215
积分: 215

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
已发帖子: 215
积分: 215

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

QQ截图20200124150842.png

离线

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

phpweb
会员
注册时间: 2020-02-05
已发帖子: 3
积分: 3

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

解决上面的驱动问题.

离线

#6 2020-03-03 11:10:06

光头程序员
会员
注册时间: 2020-03-03
已发帖子: 14
积分: 14

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

pythinker 说:

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

感谢分享, 这个很好用。


phpstorm 破解步奏 (穷人逃 ...

1. 下载 PhpStorm-2019.2.1.exe (其他版本可能破解不成功) 并安装

2. 解压 patch_for_phpstorm201902.7zD:\Program Files\JetBrains\PhpStorm 2019.2.1\bin

3. 修改 phpstorm64.exe.vmoptions, 添加 -javaagent:D:\Program Files\JetBrains\PhpStorm 2019.2.1\bin\jetbrains-agent.jar

4. C:\Windows\System32\drivers\etc\hosts文件中追加: 0.0.0.0 account.jetbrains.com

5. 破解:
2020-03-03_105714.png




希望可以帮到各位手头拮据的phper, 有钱的朋友还是上官网买正版吧。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn