2017 © Pedro Peláez
 

library latte-formatter

Simple string formatter for Latte

image

minetro/latte-formatter

Simple string formatter for Latte

  • Thursday, June 23, 2016
  • by f3l1x
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6,588 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

, (*1)

, (*2)

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte , (*3)

Disclaimer

:warning: This project is no longer being maintained. Please use contributte/utils.
Composer minetro/latte-formatter
Version
PHP
License

Usage

Register in config

Register in your config file (e.q. config.neon)., (*4)

services:
    formatter.money: 
        class: Minetro\Formatter\NumberFormatter('Kc')
    formatter.weight: 
        class: Minetro\Formatter\NumberFormatter('kg', '~')
        setup:
            - setThousand(NULL)
            - setDecimal(0)
    nette.latteFactory:
        setup:
            - addFilter(money, [@formatter.number,format])
            # or
            - addFilter(money, @formatter.number::format)

Development

This package was maintain by these authors., (*5)

, (*6)


Consider to support contributte development team. Also thank you for being used this package., (*7)

The Versions

23/06 2016

dev-master

9999999-dev https://github.com/minetro/formatter

Simple string formatter for Latte

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

22/04 2015

1.0.0

1.0.0.0 https://github.com/minetro/formatter

Simple string formatter for Latte

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires