jonassiewertsen/statamic-external-link

A Statamic fieldtype for external links
88,274 8
Install
composer require jonassiewertsen/statamic-external-link
Latest Version:v1.9.0
PHP:^8.0
License:MIT
Last Updated:May 12, 2024
Links: GitHub  ·  Packagist
Maintainer: jonassiewertsen

External Link Fieldtype for Statamic 3

Wanna learn Statamic?

Visit my newest project Statamictutorials.com. Many tutorials are free.

Description

This is a simple Fieldtype for Statamic 3, created to handle links.

What can it do?

  • It does add a test me button to the field, so you can instantly test if the link is correct
  • It will prepend https:// to the url to make sure, that the url is working correctly if inserted on the page as a link
  • It will remove http and replace it with https, so that you can be sure to have only secure links on your site

This fieldtype is especially helpful, in case you do work with very long links. One case could be ticket sales links, which tend to be very long.

Installation

This Fieldtype works with Statamic 3 only!

Install it via the composer command

composer require jonassiewertsen/statamic-external-link

Publish the Javascript file for the Control Panel

php artisan vendor:publish --provider="Jonassiewertsen\ExternalLink\ServiceProvider" --force

Support

I love to share with the community. Nevertheless, it does take a lot of work, time and effort.

Sponsor me on GitHub to support my work and the support for this addon.

License

This fieldtype is licensed under the MIT license.

Related Packages

nahid/linkify

Converts URLs and email addresses in text into HTML links its extended from Misd...

145,189 11
patroklo/improved-links

Improved links that use HTML methods when clicked.

2,712 8
mascame/urlify

Port to Laravel4 of jbroadway's PHP port of URLify.js from the Django project. T...

2,892 3
packettide/bree-colorpicker

A colorpicker field package for Bree

114 0
shivella/laravel-bitly

Laravel package for generating bitly url

923,624 74