PHP code example of xu42 / laravel-kuaidiniao

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

    

xu42 / laravel-kuaidiniao example snippets


KuaiDiNiao::track('SF', '12303940284', 'E201712170000001234');

KuaiDiNiao::follow('SF', '12303940284', 'E201712170000001234');
shell
php artisan vendor:publish
shell
cp vendor/xu42/laravel-kuaidiniao/src/config.php config/kdniao.php