--- title: 全部外掛 description: CaptchaLa 針對 CMS、論壇、電商、客服工單、線上學習與身分驗證平台的全部官方外掛,以及各外掛的取得方式與安裝步驟。 --- # 全部外掛 以下平台皆有 CaptchaLa 官方外掛。每個外掛都會將驗證元件加到平台內建的表單上,並在您的伺服器上使用 [`dash.captcha.la`](https://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](https://wordpress.org/plugins/captchala/) | 在 WordPress 後台前往 **Plugins → Add New**,搜尋「CaptchaLa」,安裝並啟用。詳見 [WordPress](./wordpress)。 | | Drupal | [GitHub](https://github.com/Captcha-La/captchala-drupal) | 將儲存庫複製到 `modules/contrib/captchala`,在網站根目錄執行 `composer require captchala/captchala-php drupal/captcha`,然後執行 `drush en captchala captcha`。詳見 [Drupal](./drupal)。 | | Joomla | [GitHub](https://github.com/Captcha-La/captchala-joomla) | 以 `build.sh` 建置 ZIP,於 **System → Install → Extensions** 上傳,然後啟用 CaptchaLa 驗證碼外掛。詳見 [Joomla](./joomla)。 | | TYPO3 | [GitHub](https://github.com/Captcha-La/captchala-typo3) | Composer 模式:`composer require captchala/typo3`。傳統模式:以 `build.sh` 建置 ZIP,於 **Admin Tools → Extensions** 上傳。詳見 [TYPO3](./typo3)。 | | MediaWiki | [GitHub](https://github.com/Captcha-La/captchala-mediawiki) | 複製(clone)到 `extensions/Captchala`,在該目錄執行 `composer install --no-dev`,然後在 `LocalSettings.php` 加入 `wfLoadExtension( 'Captchala' );`(需搭配 ConfirmEdit)。詳見 [MediaWiki](./mediawiki)。 | | Typecho | [GitHub](https://github.com/Captcha-La/captchala-typecho) | 以 `build.sh` 建置 ZIP,解壓縮至 `usr/plugins/Captchala/`,然後於 **Console → Plugins** 啟用。詳見 [Typecho](./typecho)。 | ## 論壇與社群 | 平台 | 取得 | 安裝 | | --- | --- | --- | | Flarum | [Packagist](https://packagist.org/packages/captchala/flarum) | 執行 `composer require captchala/flarum`,然後在後台擴充功能清單中啟用 CaptchaLa。詳見 [Flarum](./flarum)。 | | Discourse | [GitHub](https://github.com/Captcha-La/discourse-captchala) | 在 `containers/app.yml` 的 `after_code` hook 中加入 `git clone https://github.com/Captcha-La/discourse-captchala`,然後執行 `./launcher rebuild app`。詳見 [Discourse](./discourse)。 | | NodeBB | [npm](https://www.npmjs.com/package/nodebb-plugin-captchala) | 執行 `npm install nodebb-plugin-captchala`,再執行 `./nodebb activate nodebb-plugin-captchala` 與 `./nodebb build`,然後重新啟動。詳見 [NodeBB](./nodebb)。 | | phpBB | [GitHub](https://github.com/Captcha-La/captchala-phpbb) | 以 `build.sh` 建置 ZIP,解壓縮至 `ext/`(最終位於 `ext/captchala/captcha/`),於 **ACP → Customise → Manage extensions** 啟用,然後將其選為垃圾機器人防護措施。詳見 [phpBB](./phpbb)。 | | MyBB | [GitHub](https://github.com/Captcha-La/captchala-mybb) | 以 `build.sh` 建置 ZIP,解壓縮至 MyBB 根目錄,然後於 **ACP → Configuration → Plugins** 點擊 **Install & Activate**。詳見 [MyBB](./mybb)。 | ## 電商 | 平台 | 取得 | 安裝 | | --- | --- | --- | | WooCommerce | 已包含在 [WordPress 外掛](./wordpress)中 | 安裝 WordPress 外掛即可,結帳、登入與註冊保護都在其設定中。 | | Magento 2 | [GitHub](https://github.com/Captcha-La/captchala-magento-2) | 將 `CaptchaLa/` 複製到 `app/code/`,執行 `composer require captchala/captchala-php`,然後執行 `bin/magento module:enable CaptchaLa_Captcha` 與 `bin/magento setup:upgrade`(其餘設定指令請見 README)。詳見 [Magento 2](./magento-2)。 | | OpenCart | [GitHub](https://github.com/Captcha-La/captchala-opencart) | 以 `build.sh` 建置 `captchala.ocmod.zip`,於 **Extensions → Installer** 上傳,然後在 **Extensions → Captchas** 安裝 CaptchaLa。詳見 [OpenCart](./opencart)。 | ## 客服工單、計費與線上學習 | 平台 | 取得 | 安裝 | | --- | --- | --- | | WHMCS | [GitHub](https://github.com/Captcha-La/captchala-whmcs) | 下載儲存庫,將 `modules/addons/captchala/` 複製到 WHMCS 根目錄,然後於 **Setup → Addon Modules** 啟用。詳見 [WHMCS](./whmcs)。 | | osTicket | [GitHub](https://github.com/Captcha-La/osticket-captchala) | 以 `build.sh` 建置 ZIP,解壓縮至 `include/plugins/captchala/`,然後於 **Admin Panel → Manage → Plugins** 安裝並新增一個實例。詳見 [osTicket](./osticket)。 | | Moodle | [GitHub](https://github.com/Captcha-La/captchala-moodle) | 下載儲存庫 ZIP(可直接安裝),於 **Site administration → Plugins → Install plugins** 上傳。詳見 [Moodle](./moodle)。 | ## 身分驗證 | 平台 | 取得 | 安裝 | | --- | --- | --- | | Keycloak | [GitHub](https://github.com/Captcha-La/captchala-keycloak)([發行版 JAR](https://github.com/Captcha-La/captchala-keycloak/releases)) | 將 JAR 複製到 `providers/`,執行 `kc.sh build` 並重新啟動,然後在驗證流程中加入 CaptchaLa 執行步驟。詳見 [Keycloak](./keycloak)。 | ## 其他平台? 任何網站都可以直接使用 [Web SDK](../web-sdk) 搭配[伺服器端 SDK](../sdk/server-php) 整合。如需新的外掛,請[聯絡我們](https://captcha.la/zh-TW/contact)。