Skip to content

Laravel base app with mcamara/laravel-localization integration

Notifications You must be signed in to change notification settings

ilgala/LaravelLocalization

Repository files navigation

LaravelLocalization

Laravel base app with mcamara/laravel-localization integration

Features

This project can be used as a boilerpate for a laravel localized application using mcamara/laravel-localization plugin.

The main features are:

  • Basic localization for routes,
  • Localized interface
  • Custom language selector.

Examples When a user goes to the application base url, it will be automatically redirected to his locale: So, http://localhost:8000 will redirect to http://localhost:8000/en or http://localhost:8000/it

If you need more information about the localization system, please visit mcamara/laravel-localization repository.

Install

First of all open a terminal and clone this project

$ git clone https://github.com/IlGala/LaravelLocalization myCustomName

then move to the project folder and run

$ composer update
$ php artisan clear-compiled && php artisan optimize
$ php artisan serve

The last command will start the built-in server and you can reach the application by opening a browser and go to http://localhost:8000

Now you are ready to customize the project.

About

Laravel base app with mcamara/laravel-localization integration

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages