PHP code example of kraftware / sw6-store-api-captcha
1. Go to this page and download the library: Download kraftware/sw6-store-api-captcha library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kraftware / sw6-store-api-captcha example snippets
#[Route(path: '/store-api/my-route', name: 'store-api.my-route', defaults: ['_captcha' => true], methods: ['POST'])]