PHP code example of justbetter / statamic-postcodeservice

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

    

justbetter / statamic-postcodeservice example snippets

 php
{{ postcodeservice:initPostcodeservice :formId="form_handle" }}
 php
{!! Statamic::tag('postcodeservice:initPostcodeservice')->param('formId', $form->handle)->fetch() !!}