PHP code example of putyourlightson / craft-blitz-netlify

1. Go to this page and download the library: Download putyourlightson/craft-blitz-netlify 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/ */

    

putyourlightson / craft-blitz-netlify example snippets


// The deployer type classes to add to the plugin’s default deployer types.
'deployerTypes' => [
    'putyourlightson\blitznetlify\NetlifyDeployer',
],

// The deployer type to use.
'deployerType' => 'putyourlightson\blitznetlify\NetlifyDeployer',

// The deployer settings.
'deployerSettings' => [
   'clientId' => 'id_abcdefgh1234567890',
   'clientSecret' => 'secret_abcdefgh1234567890',
],