marciojc/language-routes

A Laravel Package to support routes for different languages

0.0.3 2017-05-04 14:18 UTC

This package is not auto-updated.

Last update: 2024-12-22 04:01:28 UTC


README

Website & Documentation: https://github.com/marciojc/language-routes

After creating your new Laravel application you can include the LanguageRoutes package with the following command:

composer require marciojc/language-routes

Add the LanguageRoutes service provider to the config/app.php file in the providers array:

'providers' => [
    // Laravel Framework Service Providers...
    //...

    // Package Service Providers
    marciojc\LanguageRoutes\LanguageRoutesServiceProvider::class,
    // ...

    // Application Service Providers
    // ...
],