1. Go to this page and download the library: Download kowap/namecheap-php 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/ */
kowap / namecheap-php example snippets
use kowap\Namecheap\NamecheapClient;
$client = new NamecheapClient(
apiUser: 'YOUR_API_USER',
apiKey: 'YOUR_API_KEY',
username: 'YOUR_USERNAME',
clientIp: 'YOUR_IP',
sandbox: false
);