PHP code example of mostlyserious / craft-markerio

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

    

mostlyserious / craft-markerio example snippets




use craft\helpers\App;

/* Example /config/markerio.php */

return [
    'project' => App::env('YOUR_ENV_VAR_HERE'),
    'enableWidgetFe' => true,
    'enableWidgetCp' => true,
    '


return [
    'enableWidgetFe' => false,
    // ...
];