shuxx/laravelsubdomainmultilang

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel package to use multilang with subdomains

dev-master 2017-07-31 18:20 UTC

This package is auto-updated.

Last update: 2018-10-07 06:36:48 UTC


README

Installation

Add "shuxx/LaravelSubdomainMultilang" to your composer.json file to require LaravelSubdomainMultilang :

    require : {
        "shuxx/LaravelSubdomainMultilang": "dev-master"
    }

Update Composer :

    composer update

The next required step is to add the service provider to config/app.php :

    Shuxx\LaravelSubdomainMultilang\SubdomainMultilangServiceProvider::class,

Publish

The nex required step is to publish config file for working porperly in your application with :

    php artisan vendor:publish

Add the middleware

The last required step is add middleware in the app/Http/Kernel.php in the web array :

    \Shuxx\LaravelSubdomainMultilang\Middleware\SubdomainMultilang::class,

Congratulations, you have successfully installed LaravelSubdomainMultilang !