PHPStorm 使用 Laravel IDE Helper

composer require barryvdh/laravel-ide-helper
composer require doctrine/dbal

在 config/app.php 的 providers 中添加:
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,

生成辅助文件:
php artisan ide-helper:generate
php artisan ide-helper:models
提示:需要首先清除 bootstrap/compiled.php,所以生成前需要执行 php artisan clear-compiled,生成后执行 php artisan optimize
生Model helper时建议选择 y,否则会出现 Multiple definitions

配置 composer.json 以在每次提交之后执行:
"scripts":{
    "post-update-cmd": [
        ...
        "php 
更多...

OpenCart 1.5.6.4 升级到 2.3.0.2

http://www.opencart.com/index.php?route=extension/extension/info&extension_id=19572
下载 OpenCart Migration & Upgrade Tool version 2.0.5

将 2.1.0.1/upload/ 覆盖到 1.5.6.4 目录
http://testopencart/converter/readme.php

再将 OpenCart-Migration-Upgrade-Tool-2.0.5/upload/ 覆盖到 1.5.6.4 目录

http://testopencart/converter/index.php
Administrative permission - Save Initial - Initial Upgrade - To Upgrade The Database
勾选Upgrade database to version 2.1.0.1
Start 
更多...