2017-25 © Pedro Peláez
 

library laravel-domain-localization

Laravel 5 domain localization

image

bastiendonjon/laravel-domain-localization

Laravel 5 domain localization

  • Saturday, November 7, 2015
  • by bastiendonjon
  • Repository
  • 2 Watchers
  • 2 Stars
  • 124 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel 5 domain localization

A tool for easy domain based localization in Laravel 5 applications., (*1)

Installation

This package is build for Laravel framework based applications., (*2)

Requirements

  • PHP >= 5.4.0
  • Laravel 5+

Composer installation

You must modify your composer.json file and run composer update to include the latest version of the package in your project:, (*3)

"require": {
    "bastiendonjon/laravel-domain-localization": "1.0.*"
}

Or you can run the composer require command from your terminal:, (*4)

composer require bastiendonjon/laravel-domain-localization:1.0.x

Service provider

Open app/config/app.php and register the required service provider., (*5)

'providers' => [
    BastienDonjon\LaravelDomainLocalization\Provider\DomainLocalizationServiceProvider:class,
]

Make config file :, (*6)

php artisan vendor:publish"

Usage

Th Laravel Domain Localization get tld to switch locale. See config file to match tdl with locale., (*7)

For example, when you add the dutch locale fr the user could access two different locales, using the following addresses:, (*8)

http://example.com
http://example.fr

The Versions

07/11 2015

dev-master

9999999-dev

Laravel 5 domain localization

  Sources   Download

The Requires

  • php >=5.4.0

 

domain localization provider bastiendonjon

07/11 2015

v1.0.0

1.0.0.0

Laravel 5 domain localization

  Sources   Download

The Requires

  • php >=5.4.0

 

domain localization provider bastiendonjon