MmWhoisBundle
, (*1)
Symfony2 whois queries bundle, (*2)
Step 1: Installation
Add MmWhoisBundle in your composer.json:, (*3)
{
"require": {
"maastermedia/whois-bundle": "dev-master"
}
}
Now tell composer to download the bundle by running the command:, (*4)
``` bash
$ php composer.phar update maastermedia/whois-bundle, (*5)
or use `require`
```bash
$ php composer.phar require maastermedia/whois-bundle
Step 2: Enable the bundle
Enable the bundle in the kernel:, (*6)
``` php
<?php
// app/AppKernel.php, (*7)
public function registerBundles()
{
$bundles = array(
// ...
new Mm\WhoisBundle\MmWhoisBundle(),
);
}, (*8)
## Step 3: Configuration
Put following into `app/config/config.yml` to enable default configuration of the bundle:
```yaml
mm_whois: ~
License
This bundle is released under the MIT license., (*9)