Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Intl

Laravel Intl Laravel Package

ozankurt/laravel-intl

A Laravel package for internationalization built on PHP's intl extension, providing locale-aware helpers for formatting dates, numbers, and currencies, along with middleware and Blade directives to manage per-request locales in your application.

View on GitHub
Deep Wiki
Context7

Laravel Intl is a lightweight Laravel wrapper around PHP's intl extension, giving you convenient, locale-aware formatting without touching the raw NumberFormatter or IntlDateFormatter classes directly. It hooks into Laravel's configuration and current application locale, so localized output works consistently across your controllers, views, and services.

  • Locale-aware number, currency, and percentage formatting
  • Date and time formatting with configurable patterns
  • Automatic locale resolution from Laravel's app locale
  • Facade and helper access for quick use anywhere
  • Publishable config for default locale and formatting styles
Frequently asked questions about Laravel Intl
What is ozankurt/laravel-intl used for?
It is a Laravel package for internationalization. It provides helpers to manage locales, translations, and localized formatting in Laravel applications. Its goal is to simplify multilingual support and locale-aware output.
How do I install ozankurt/laravel-intl in Laravel?
Install the package with Composer using composer require ozankurt/laravel-intl. Then follow the repository README for any service provider registration or configuration publishing steps. Because it is a Laravel package, package discovery may handle registration automatically, but confirm the exact setup in the documentation.
Does laravel-intl support Laravel 10 and Laravel 11?
The provided overview does not list supported Laravel versions. Check the package composer.json and README for illuminate/support constraints and compatibility notes. Laravel package version support is usually determined by those requirements.
How do I set the current locale with laravel-intl?
The package offers helpers to manage locales in a Laravel application. The exact helper or facade method names should be confirmed in the README. Typically you would use such helpers to get or set the application locale.
Can laravel-intl format dates and numbers per locale?
The overview mentions localized formatting and locale-aware output. The package is intended to help with locale-aware formatting in Laravel projects. For specific date, number, or currency helper details, review the package documentation.
Is ozankurt/laravel-intl compatible with Laravel's built-in translation system?
It is described as offering helpers to manage translations within Laravel. It likely complements Laravel's native lang files and translation helpers. Confirm the integration details in the repository README.
How do I test multilingual features with laravel-intl?
Use Laravel's testing tools and set the desired locale in your test setup. The package's locale helpers can help switch locales during tests. Check the repository for any test examples or utilities.
Is ozankurt/laravel-intl maintained and production-ready?
The repository is the source of truth for maintenance status. Review recent commits, releases, and open issues before using it in production. The overview describes its purpose but does not provide stability guarantees.
What alternatives exist to ozankurt/laravel-intl for Laravel internationalization?
Laravel already includes localization features such as lang files and translation helpers. Other community packages may offer locale switching or localized formatting helpers. Compare features, Laravel version support, and maintenance activity before choosing.
Do I need to configure anything after installing laravel-intl?
Laravel packages often require publishing configuration files or registering a service provider. Check the README for configuration and publishing commands. The provided overview does not specify configuration steps.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core