codedor / laravel-translatable-routes
Package for Laravel to make routes translatable
Installs: 1 929
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: ^8.2|^8.3
- codedor/laravel-locale-collection: ^1.0
- illuminate/contracts: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.12
Requires (Dev)
- larastan/larastan: ^2.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.0|^8.0
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-translatable: ^6.3
- dev-master
- v1.2.0
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-dependabot/github_actions/aglipanci/laravel-pint-action-2.5
- dev-hotfix/the001-admin-route
- dev-feature/disabling-reporting
- dev-hotfix/livewire-route-binding
This package is auto-updated.
Last update: 2025-02-03 18:41:06 UTC
README
Wrapper to define multiple locales for a website and associate a url per locale.
Installation
You can install the package via composer:
composer require codedor/laravel-translatable-routes
Usage
use \Codedor\LocaleCollection\Facades\LocaleCollection; LocaleCollection::registerRoutes(base_path('routes/translatable.php'));
Documentation
For the full documentation, check here.
Testing
vendor/bin/pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Upgrading
Please see UPGRADING for more information on how to upgrade to a new version.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
If you discover any security-related issues, please email info@codedor.be instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.