PHP code example of egulias / egulias-provinces-bundle
1. Go to this page and download the library: Download egulias/egulias-provinces-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/ */
egulias / egulias-provinces-bundle example snippets
php
// app/autoload.php
$loader->registerNamespaces(array(
'Egulias' => __DIR__.'/../vendor/bundles',
// your other namespaces
));
php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Egulias\EguliasProvincesBundle\EguliasProvincesBundle(),
// ...
);
}