2017 © Pedro Peláez
 

symfony-bundle domain-parser-bundle

Integration of Domain Parser into Symfony

image

egyg33k/domain-parser-bundle

Integration of Domain Parser into Symfony

  • Friday, February 5, 2016
  • by EGYG33K
  • Repository
  • 1 Watchers
  • 0 Stars
  • 828 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 8 % Grown

The README.md

domain-parser-bundle

![Software License][ico-license] Build Status Total Downloads Latest Stable Version, (*1)

Integration of Domain Parser into Symfony, (*2)

System Requirements

You need PHP >= 5.5.0 but the latest stable version of PHP/HHVM is recommended., (*3)

Install

Via Composer, (*4)

``` bash $ composer require egyg33k/domain-parser-bundle, (*5)


## Usage ``` php // Add this line to your AppKernel.php new Egyg33k\DomainParserBundle\Egyg33kDomainParserBundle(), // Then you can use it as following $parser = $this->container->get('egyg33k.domainParser'); $host = 'http://user:pass@www.pref.okinawa.jp:8080/path/to/page.html?query=string#fragment'; $url = $parser->parseUrl($host); var_dump($url);

Documentation

Original docs https://github.com/jeremykendall/php-domain-parser, (*6)

Testing

bash $ phpunit, (*7)

Security

If you discover any security related issues, please email me@amrsamy.com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

05/02 2016
05/02 2016
05/02 2016