Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 22 | All time: 11,306 This week: 206![]() |
Version | License | PHP version | Categories | |||
case-converter-twig 1.0 | Custom (specified... | 5 | PHP 5, Text processing, Templates |
This package is a Twig extension that provides the following filters:
{{ 'welcome-to-the-jungle'|to_camel }}
{# outputs 'welcomeToTheJungle' #}
Install with Composer:
$ composer require jawira/case-converter-twig
If you are not using Symfony Flex, you also have to register the extension:
# config/packages/case_converter_twig.yaml
services:
jawira.case.converter.twig:
class: \Jawira\CaseConverterTwig\CaseConverterExtension
tags: ['twig.extension']
<https://jawira.github.io/case-converter/>
If you liked this project, ? star it on GitHub.
This library is licensed under the MIT license.
*
<dl>
<dt>
<a href="https://packagist.org/packages/jawira/case-converter">jawira/case-converter
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/case-converter?icon=github"/></a>
</dt> <dd>Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation. </dd>
<dt>
<a href="https://packagist.org/packages/jawira/emoji-catalog">jawira/emoji-catalog
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/emoji-catalog?icon=github"/></a>
</dt> <dd>Get access to +3000 emojis as class constants.</dd>
<dt><a href="https://packagist.org/packages/jawira/">more...</a></dt> </dl>
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
![]() | case-converter-twig-2021-06-21.zip 10KB |
![]() | case-converter-twig-2021-06-21.tar.gz 6KB |
![]() | Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.