PHP code example of macs / geonames-bundle

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

    

macs / geonames-bundle example snippets


    // AppKernel::registerBundles()
    $bundles = array(
        // ...
        new JJs\Bundle\GeonamesBundle\JJsGeonamesBundle(),
        // ...
    );

## Install or update database schema

The database schema for he bundle is defined using [doctrine migrations][2].
Migration versioning is designed so they can be merged into your application
migrations or migrate the schema manually.

### Independant versioning

Execute the migrations using the supplied migration configuration