Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 2.95 KB

1-Installation-and-Setup.md

File metadata and controls

72 lines (48 loc) · 2.95 KB

1. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage
  4. FAQ

Server Requirements

The Localization package has a few system requirements:

- PHP >= 7.0
Optional

PHP extensions:

Version Compatibility

Localization Laravel
Localization v0.x Laravel v5.0 Laravel v5.1 Laravel v5.2 Laravel v5.3
Localization v1.x Laravel v5.4
Localization v2.x Laravel v5.5

Composer

You can install this package via Composer by running this command:

composer require arcanedev/localization

Laravel

Setup

NOTE : The package will automatically register itself if you're using Laravel >= v5.5, so you can skip this section.

Once the package is installed, you can register the service provider in config/app.php in the providers array:

'providers' => [
    ...
    Arcanedev\Localization\LocalizationServiceProvider::class,
],

No need to register the Localization facade, it's done automagically.

Artisan commands

To publish the config & view files, run this command:

php artisan vendor:publish --provider="Arcanedev\Localization\LocalizationServiceProvider"