PHP code example of maltertech / mongoify

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

    

maltertech / mongoify example snippets




use Mongoify\Mongoify;

$mongoify = new Mongoify(
    'your-shopify-client-secret',
    new MongoDB\Client('your-mongodb-connection-string'),
    'your-database-name'
);