{"id":37373542,"url":"https://github.com/arnissolle/laravel-localization","last_synced_at":"2026-01-16T05:01:14.957Z","repository":{"id":62487649,"uuid":"179863013","full_name":"arnissolle/laravel-localization","owner":"arnissolle","description":"Laravel localization package","archived":false,"fork":false,"pushed_at":"2019-10-25T20:42:43.000Z","size":28,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T13:17:22.632Z","etag":null,"topics":["composer","l10n","language","laravel","localization","middleware"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arnissolle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"parnissolle"}},"created_at":"2019-04-06T17:10:52.000Z","updated_at":"2021-02-04T08:05:16.000Z","dependencies_parsed_at":"2022-11-02T10:02:41.076Z","dependency_job_id":null,"html_url":"https://github.com/arnissolle/laravel-localization","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/arnissolle/laravel-localization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnissolle%2Flaravel-localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnissolle%2Flaravel-localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnissolle%2Flaravel-localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnissolle%2Flaravel-localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnissolle","download_url":"https://codeload.github.com/arnissolle/laravel-localization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnissolle%2Flaravel-localization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","l10n","language","laravel","localization","middleware"],"created_at":"2026-01-16T05:01:14.328Z","updated_at":"2026-01-16T05:01:14.947Z","avatar_url":"https://github.com/arnissolle.png","language":"PHP","funding_links":["https://github.com/sponsors/parnissolle"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n\u003ca href=\"https://travis-ci.org/arnissolle/laravel-localization\"\u003e\u003cimg src=\"https://travis-ci.org/arnissolle/laravel-localization.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\r\n\u003ca href=\"https://packagist.org/packages/arnissolle/laravel-localization\"\u003e\u003cimg src=\"https://poser.pugx.org/arnissolle/laravel-localization/d/total.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\r\n\u003ca href=\"https://packagist.org/packages/arnissolle/laravel-localization\"\u003e\u003cimg src=\"https://poser.pugx.org/arnissolle/laravel-localization/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\r\n\u003ca href=\"https://packagist.org/packages/arnissolle/laravel-localization\"\u003e\u003cimg src=\"https://poser.pugx.org/arnissolle/laravel-localization/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n## Introduction\r\n\r\nThe Laravel Localization package is built for Laravel 5.8+ and provides: \r\n\r\n- [x] Localized routes with language URL prefixes.\r\n- [ ] Domain based localized routes.\r\n- [x] Middleware to detect user language based on HTTP header and session. \r\n- [x] Redirect the user to the localized version.\r\n- [ ] Possibility to hide the language URL prefix for the default language.\r\n- [ ] Possibility to localize a subset of routes only.\r\n- [ ] Language Switcher and Hreflang Meta Tags\r\n- [ ] Patched `route()` method to use localized routes whenever possible.\r\n- [ ] Compatibility with `artisan route:cache`.\r\n\r\n## Installation\r\n\r\nTo get started, use Composer to add the package to your project's dependencies:\r\n```\r\ncomposer require arnissolle/laravel-localization\r\n```\r\n\r\nAdd the middleware to the `web` group in `App/Http/Kernel.php`:\r\n```php\r\nprotected $middlewareGroups = [\r\n    'web' =\u003e [\r\n        // ...\r\n        \\Arnissolle\\Localization\\Middleware\\Handler::class,\r\n    ],\r\n];\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnissolle%2Flaravel-localization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnissolle%2Flaravel-localization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnissolle%2Flaravel-localization/lists"}