Free!
Download
Stacake Enhance
Description

Statamic 3.0+ Total Downloads Downloads Month Petreon donation PayPal donation

Extend your statamic project! (under development)

Installation

Run the following command in your v3 project root:

composer require stacake/enhance

publish addon assets from vendor package

php artisan vendor:publish --provider=Stacake\Enhance\ServiceProvider --force

Getting started

Tags

Mailto

generating mailto: links in your antlers.

{{ mailto to='[email protected]'}}

// mailto:[email protected]



{{ mailto to='[email protected]|[email protected]' cc='[email protected]|[email protected]' bcc='[email protected]|[email protected]'  subject='Greeting 2020' body='Happy New Year!'}}

// mailto:[email protected],[email protected]?cc=cc%40sample.com%2Ccc2%40sample.com&bcc=bcc%40example.com%2Cbcc2%40example.com&subject=Greeting%2B2020&body=Happy%2BNew%2BYear%2521

Parameters

to
The intended recipient(s) of the message.
cc
One or more email address to "carbon-copy" (CC) on the message.
bcc
One or more emails to "blind carbon-copy" (BCC) on the message.
subject
The subject line of the message
body
The body of the message

Tel

phone number utility for your antlers. this Tag utilizing Laravel-Phone package

{{ tel number='08123456789' }}

// +628123456789


{{ tel number='08123456789' country='KR' }}

// +8223456789


<a href="{{ tel number='08123456789' is_url='true'}}"> Call Me </a> 

// <a href="tel:+628123456789"> Call Me </a>


<a href="{{ tel number='08123456789' is_url='true'}}"> {{ tel number='08123456789' format='2'}} </a> 

// <a href="tel:+628123456789"> 0812-3456-789 </a>

Parameters

number
phone number.
country
(default ID). ISO 3166-1 alpha-2 compliant country codes
is_url
(default false) prefix phone number with "tel:"
format
(default 0) format phone number. available value is 0 to 3. see https://github.com/giggsey/libphonenumber-for-php/blob/master/src/PhoneNumberFormat.php

Reporting issues

Though this package is under development, hopefully you have found this package useful in extending your v3. If you come across a bug or issue that you think needs to be addressed or want to request new feature, please open an issue. Feel free to Pull Request :)


Important Links
Details
Released January 1, 2020
Downloads 27
Requires Statamic 3

Stacake

More by Stacake

Similar Addons

See All
This addon provides an easy way to generate ImageKit URLs

ImageKit

by Michael Aerni in Tag
This addon provides an easy way to generate ImageKit URLs
A custom tag for using Webmention.io data on your Statamic site!

Webmentions

by Matt Rothenberg in Tag
A custom tag for using Webmention.io data on your Statamic site!