Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JMB-Technology-Limited/Twig-Extensions
https://github.com/JMB-Technology-Limited/Twig-Extensions
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/JMB-Technology-Limited/Twig-Extensions
- Owner: JMB-Technology-Limited
- License: other
- Created: 2015-11-22T20:15:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-15T17:24:55.000Z (about 6 years ago)
- Last Synced: 2024-05-15T11:59:23.625Z (about 1 month ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-twig - JMB-Technology-Limited/twig-extensions - Bunch of awesome twig extensions by [JMB-Technology-Limited](https://github.com/JMB-Technology-Limited) (Twig / Extensions)
- awesome-twig - JMB-Technology-Limited/twig-extensions - Bunch of awesome twig extensions by [JMB-Technology-Limited](https://github.com/JMB-Technology-Limited) (Twig / Extensions)
README
# JMB Technology Limited Twig Extensions
A set of Twig extensions.
V1 of Twig Extensions is for Twig V1.
V2 is for Twig V2.## LinkInfo
Returns a shorterned version of a link, the domain name only.
## Linkify
This simply wraps Misd\Linkify\Linkify which provides all kind of options for adding attributes and a callback.
## SameDay
Returns a boolean indicating if two date times are on the same day.
## TimeZone
Can convert a DateTime into the timezone of your choice.