Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Domain Parser Bundle Laravel Package

egyg33k/domain-parser-bundle

View on GitHub
Deep Wiki
Context7

domain-parser-bundle

Software License Build Status Total Downloads Latest Stable Version

Integration of Domain Parser into Symfony

System Requirements

You need PHP >= 5.5.0 but the latest stable version of PHP/HHVM is recommended.

Install

Via Composer

$ composer require egyg33k/domain-parser-bundle

Usage

        // 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

Testing

$ phpunit

Security

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

Credits

License

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

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky