Download the PHP package icanboogie/bind-cldr without Composer
On this page you can find all versions of the php package icanboogie/bind-cldr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bind-cldr
Bind CLDR to ICanBoogie
Binds icanboogie/cldr to ICanBoogie, using its Autoconfig feature.
Prototype methods
The following prototype methods are provided:
-
ICanBoogie\Application::lazy_get_cldr_provider
: A lazy getter that returns a ProviderCollection instance. A FileProvider instance is used in the collection and is configured to use<ICanBoogie\REPOSITORY>cache/cldr
as cache directory. A APCStorage instance is also part of the collection if APC is available. -
ICanBoogie\Application::lazy_get_cldr
: A lazy getter that returns a Repository instance created with the CLDR provider. -
ICanBoogie\Application::set_locale
: Sets the locale used by the application. ICanBoogie\Application::get_locale
: Returns the locale used by the application.
Requirements
The package requires PHP 5.6 or later.
Installation
The recommended way to install this package is through Composer:
Cloning the repository
The package is available on GitHub, its repository can be cloned with the following command line:
$ git clone https://github.com/ICanBoogie/bind-cldr.git
Documentation
The package is documented as part of the ICanBoogie framework
documentation. You can generate the documentation for the package
and its dependencies with the make doc
command. The documentation is generated in the docs
directory. ApiGen is required. You can later clean the directory with
the make clean
command.
Testing
The test suite is ran with the make test
command. Composer is
automatically installed as well as all dependencies required to run the suite. You can later
clean the directory with the make clean
command.
The package is continuously tested by Travis CI.
License
icanboogie/bind-cldr is licensed under the New BSD License - See the LICENSE file for details.