PHP code example of cline / shipit

1. Go to this page and download the library: Download cline/shipit 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/ */

    

cline / shipit example snippets


use Cline\Shipit\Connector\ShipitConnector;

// Auto-detect environment (production uses live, non-production uses test)
$shipit = ShipitConnector::new('your-api-token');

// Or explicitly choose environment
$shipit = ShipitConnector::live('your-api-token');  // Production
$shipit = ShipitConnector::test('your-api-token');  // Test environment