2017 © Pedro Peláez
 

library intl-format

A wrapper library for PHP intl messages in sprintf style

image

senseexception/intl-format

A wrapper library for PHP intl messages in sprintf style

  • Friday, June 1, 2018
  • by SenseException
  • Repository
  • 1 Watchers
  • 5 Stars
  • 329 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 12 Versions
  • 10 % Grown

The README.md

Intl-Format

A wrapper library for PHP to format and internationalize values in messages like sprintf, (*1)

Latest Stable Version PHP from Packagist Tests Static Analysis License, (*2)

Why using this library?

Internationalisation is a very important matter when a PHP project covers more than just one country. Every country has its own format for numbers, date or time. The Intl component offers functionality to handle all the formats you need, but not always in a simple way., (*3)

This library formats messages using the Intl component of PHP and offers a sprintf-like API., (*4)

Example:, (*5)

echo $intlFormat->format('Today\'s number is %number', 1000.3);
// echo "Today's number is 1'000,3" in case of locale de_CH
// echo "Today's number is 1,000.3" in case of locale en_US

It is also easy extensible with your own custom formats., (*6)

Documentation

Read more about this library in the documentation., (*7)

Does it affect GDPR somehow?

Intl-Format itself uses the given data (e.g. timezone, locale) only for formatting purposes with the help of the PHP Intl extension., (*8)

Installation

You can install this with Composer., (*9)

composer require senseexception/intl-format

The Versions

01/06 2018

dev-master

9999999-dev

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • ext-intl *
  • php >=7.1.5

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

26/03 2018

1.3.0

1.3.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php >=7.1.5
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

19/12 2017

dev-scrutinizer-config

dev-scrutinizer-config

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

24/11 2017

1.2.0

1.2.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

18/02 2017

1.1.0

1.1.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

08/11 2016

1.0.0

1.0.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

03/10 2016

0.4.x-dev

0.4.9999999.9999999-dev

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

03/10 2016

0.4.0

0.4.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter messages i18n internationalization intl sprintf icu

30/05 2016

dev-build

dev-build

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter i18n internationalization intl icu

30/05 2016

0.3.0

0.3.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter i18n internationalization intl icu

26/04 2016

0.2.0

0.2.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter i18n intl

11/04 2016

0.1.0

0.1.0.0

A wrapper library for PHP intl messages in sprintf style

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-intl *

 

The Development Requires

by Claudio Zizza

formatter i18n intl