PHP code example of eighteen73 / spark

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

    

eighteen73 / spark example snippets


define( 'SPARK_API_USERNAME', 'your-username' );
define( 'SPARK_API_PASSWORD', 'your-password' );
define( 'SPARK_API_URI', 'https://your-api-endpoint.com/patterns' );