Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Repository files navigation

WpLink

Build Status

Detect if a link is internal to enable easily setting target="_blank" for external links.

Usage

Require the library with composer and use it in your blades like this:

<ahref="{{$uri}}"{!! \Onvardgmbh\WpLink::target($uri) !!}>Foo</a>

Run Tests

To run the tests, run composer run-script test or composer run-script test:dox in the project root directory.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages