Skip to content

Laravel project sample. A solid way to add multi-language support to your Laravel app

Notifications You must be signed in to change notification settings

boolfalse/laravel-localization

Repository files navigation

Laravel Localization

Using custom middleware to intercept each request and validate URI prefix as a current app locale.

Prerequisites:

  • PHP
  • Composer

Quick Start:

  • Clone the repo;
git clone git@github.com:boolfalse/laravel-localization.git && cd laravel-localization/
  • Install dependencies;
composer install
  • Create a new .env file;
cp .env.example .env
  • Generate a new APP_KEY;
php artisan key:generate
  • Refresh the cache;
php artisan optimize
  • Run the server;
php artisan serve

Resources:

Author:

About

Laravel project sample. A solid way to add multi-language support to your Laravel app

Resources

Stars

Watchers

Forks