PHP code example of netzmacht / contao-leaflet-libraries
1. Go to this page and download the library: Download netzmacht/contao-leaflet-libraries 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/ */
netzmacht / contao-leaflet-libraries example snippets
// Dependency is automatically installed and has to be registered
new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('leaflet-libs', $this->getRootDir()),
$ php composer.phar