Skip to content

codedor/laravel-translatable-routes

Repository files navigation

Package for Laravel to make routes translatable

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 [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.