PHP code example of marshmallow / dataset-google-geotargets
1. Go to this page and download the library: Download marshmallow/dataset-google-geotargets 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/ */
marshmallow / dataset-google-geotargets example snippets
return [
/**
* Specify the countries you wish to sync. An empty array will
* result in the seeder seeding all the data.
*/
'countries' => [
'NL',
],
/**
* Specify the types you wish to sync.
*/
'types' => [
GoogleGeoTarget::CITY,
// ...
]
];