[WordPress] 外掛分享: Ray

首頁外掛目錄 › Ray
WordPress 外掛 Ray 的封面圖片
500+
安裝啟用
★★★★★
5/5 分(10 則評價)
98 天前
最後更新
問題解決
WordPress 5.5+ PHP 8.0+ v1.7.10 上架:2021-01-12

內容簡介

Ray 是一款美觀、輕量的桌面應用程式,可幫助您進行應用程式的偵錯操作。可使用免費試用版,也可透過許可證進行解鎖。

安裝此外掛後,您可以使用 ray() 函數快速顯示錯誤訊息,所有傳遞給 ray() 的變數都會顯示。

以下是一些範例:

ray('Hello world');

ray(['a' => 1, 'b' => 2])->color('red');

ray('multiple', 'arguments', 'are', 'welcome');

ray()->showQueries();

Ray 有許多其他輔助函數,可協助您顯示各種偵錯資訊,例如運行時間和記憶體使用情況、已執行的查詢等等。

完整文件

完整的文件可在此處找到。

其中包含進行 WordPress 安裝的安裝說明。

安裝完成後,即可使用任何框架通用和WordPress 特定的函數。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.10) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Ray」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Ray is a beautiful, lightweight desktop app that helps you debug your app. There’s a free demo available that can be unlocked with a license.
After installing this plugin, you can use the ray() function to quickly dump stuff. Any variable(s) that you pass to ray() will be displayed.
Here some examples:
ray('Hello world');

ray(['a' => 1, 'b' => 2])->color('red');

ray('multiple', 'arguments', 'are', 'welcome');

ray()->showQueries();

There are many other helper functions available on Ray that allow you to display things that can help you debug such as runtime and memory usage, queries that were executed, and much more.
Full Documentation
The extensive documentation can be found here.
It contains the installation instructions for WordPress.
After it is installed you can use any of the framework agnostic and WordPress specific functions.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon