Search by

atannex / localization

Atanga1920

Complete localization for Laravel: locale registry with a built-in catalog, request negotiation (URL prefix, domain, query, user, session, cookie, Accept-Language, geo), localized URLs and hreflang, a language switcher, translatable Eloquent attributes with driver-aware JSON queries, locale-aware fo

Package info

github.com/atannex/localization

pkg:composer/atannex/localization

Statistics

Installs: 89

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.1 2026-10-27 21:50 UTC

This package is auto-updated.

Last update: 2026-10-30 11:14:44 UTC


README

Runs a Laravel site in several languages. It works out which language each visitor wants (from the address, their account, a cookie or their browser), builds the right links for each language, and offers a language switcher. Model fields such as titles can hold a translation for each language. It also formats dates and numbers for each language and reports text that has not been translated yet.

Install

composer require atannex/localization