全部外掛
以下平台皆有 CaptchaLa 官方外掛。每個外掛都會將驗證元件加到平台內建的表單上,並在您的伺服器上使用 dash.captcha.la 中的 App Key 與 App Secret 驗證 token。安裝後開啟外掛設定,貼上這兩組金鑰,再選擇要保護的表單即可。
「取得」欄為 GitHub 的外掛需從程式碼儲存庫安裝。安裝步驟中提到 build.sh 時,請在儲存庫中執行它(需要 Composer 2.2 或更新版本),它會將可安裝的 ZIP(已內含 PHP SDK)輸出至 release/。完整步驟請見各儲存庫的 README。
CMS 與 Wiki
| 平台 | 取得 | 安裝 |
|---|---|---|
| WordPress(WooCommerce、Contact Form 7、Gravity Forms 等) | WordPress.org | 在 WordPress 後台前往 Plugins → Add New,搜尋「CaptchaLa」,安裝並啟用。詳見 WordPress。 |
| Drupal | GitHub | 將儲存庫複製到 modules/contrib/captchala,在網站根目錄執行 composer require captchala/captchala-php drupal/captcha,然後執行 drush en captchala captcha。詳見 Drupal。 |
| Joomla | GitHub | 以 build.sh 建置 ZIP,於 System → Install → Extensions 上傳,然後啟用 CaptchaLa 驗證碼外掛。詳見 Joomla。 |
| TYPO3 | GitHub | Composer 模式:composer require captchala/typo3。傳統模式:以 build.sh 建置 ZIP,於 Admin Tools → Extensions 上傳。詳見 TYPO3。 |
| MediaWiki | GitHub | 複製(clone)到 extensions/Captchala,在該目錄執行 composer install --no-dev,然後在 LocalSettings.php 加入 wfLoadExtension( 'Captchala' );(需搭配 ConfirmEdit)。詳見 MediaWiki。 |
| Typecho | GitHub | 以 build.sh 建置 ZIP,解壓縮至 usr/plugins/Captchala/,然後於 Console → Plugins 啟用。詳見 Typecho。 |
論壇與社群
| 平台 | 取得 | 安裝 |
|---|---|---|
| Flarum | Packagist | 執行 composer require captchala/flarum,然後在後台擴充功能清單中啟用 CaptchaLa。詳見 Flarum。 |
| Discourse | GitHub | 在 containers/app.yml 的 after_code hook 中加入 git clone https://github.com/Captcha-La/discourse-captchala,然後執行 ./launcher rebuild app。詳見 Discourse。 |
| NodeBB | npm | 執行 npm install nodebb-plugin-captchala,再執行 ./nodebb activate nodebb-plugin-captchala 與 ./nodebb build,然後重新啟動。詳見 NodeBB。 |
| phpBB | GitHub | 以 build.sh 建置 ZIP,解壓縮至 ext/(最終位於 ext/captchala/captcha/),於 ACP → Customise → Manage extensions 啟用,然後將其選為垃圾機器人防護措施。詳見 phpBB。 |
| MyBB | GitHub | 以 build.sh 建置 ZIP,解壓縮至 MyBB 根目錄,然後於 ACP → Configuration → Plugins 點擊 Install & Activate。詳見 MyBB。 |
電商
| 平台 | 取得 | 安裝 |
|---|---|---|
| WooCommerce | 已包含在 WordPress 外掛中 | 安裝 WordPress 外掛即可,結帳、登入與註冊保護都在其設定中。 |
| Magento 2 | GitHub | 將 CaptchaLa/ 複製到 app/code/,執行 composer require captchala/captchala-php,然後執行 bin/magento module:enable CaptchaLa_Captcha 與 bin/magento setup:upgrade(其餘設定指令請見 README)。詳見 Magento 2。 |
| OpenCart | GitHub | 以 build.sh 建置 captchala.ocmod.zip,於 Extensions → Installer 上傳,然後在 Extensions → Captchas 安裝 CaptchaLa。詳見 OpenCart。 |
客服工單、計費與線上學習
| 平台 | 取得 | 安裝 |
|---|---|---|
| WHMCS | GitHub | 下載儲存庫,將 modules/addons/captchala/ 複製到 WHMCS 根目錄,然後於 Setup → Addon Modules 啟用。詳見 WHMCS。 |
| osTicket | GitHub | 以 build.sh 建置 ZIP,解壓縮至 include/plugins/captchala/,然後於 Admin Panel → Manage → Plugins 安裝並新增一個實例。詳見 osTicket。 |
| Moodle | GitHub | 下載儲存庫 ZIP(可直接安裝),於 Site administration → Plugins → Install plugins 上傳。詳見 Moodle。 |
身分驗證
| 平台 | 取得 | 安裝 |
|---|---|---|
| Keycloak | GitHub(發行版 JAR) | 將 JAR 複製到 providers/,執行 kc.sh build 並重新啟動,然後在驗證流程中加入 CaptchaLa 執行步驟。詳見 Keycloak。 |