創(chuàng)建應(yīng)用插件
唯一標(biāo)識(shí)
每個(gè)插件都有一個(gè)唯一的應(yīng)用標(biāo)識(shí),開發(fā)者開發(fā)之前需要想好標(biāo)識(shí),并且檢測標(biāo)識(shí)沒有被占用。
檢測地址應(yīng)用標(biāo)識(shí)檢測
創(chuàng)建
執(zhí)行composer require webman/console
安裝webman命令行
使用命令php webman app-plugin:create {插件標(biāo)識(shí)}
可以在本地創(chuàng)建一個(gè)應(yīng)用插件
例如 php webman app-plugin:create foo
重啟webman
訪問 http://127.0.0.1:8787/app/foo
如果有返回內(nèi)容說明創(chuàng)建成功。