https://github.com/itinance/simplifytwigextension
https://github.com/itinance/simplifytwigextension
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/itinance/simplifytwigextension
- Owner: itinance
- License: apache-2.0
- Created: 2015-08-09T18:31:56.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-09T19:21:13.000Z (almost 11 years ago)
- Last Synced: 2025-02-09T06:16:03.080Z (over 1 year ago)
- Language: PHP
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SimplifyTwigExtension
=====================
Brings ezComponents str_simplify-function to Twig
Substitutes newlines, tabs, and multiple spaces from the string $str and replaces it with a single blank.
Whitespace in the beginning and at the end of the $str are removed
Stolen from the former ezComponents-Framework
Installation using composer:
```
"repositories": [
{
"type": "git",
"url": "git@github.com:itinance/SimplifyTwigExtension.git"
}
],
"require": {
"itinance/SimplifyTwigExtension": "dev-master"
},
```