Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 4.28 KB

1-Installation-and-Setup.md

File metadata and controls

77 lines (61 loc) · 4.28 KB

1. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Version Compatibility

Laravel LaravelLang
Laravel v9.x LaravelLang v10.x
Laravel v8.x LaravelLang v9.x
Laravel v7.x LaravelLang v8.x
Laravel v6.x LaravelLang v7.x
Laravel v5.8 LaravelLang v6.x
Laravel v5.7 LaravelLang v5.x
Laravel v5.6 LaravelLang v4.x
Laravel v5.5 LaravelLang v3.x
Laravel v5.4 LaravelLang v2.x
Laravel v5.3 LaravelLang v1.x
Laravel v5.2 LaravelLang v1.x
Laravel v5.1 LaravelLang v1.x
Laravel v5.0 LaravelLang v1.x

Composer

You can install this package via Composer by running this command: composer require --dev arcanedev/laravel-lang.

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:

// config/app.php

'providers' => [
    ...
    Arcanedev\LaravelLang\LaravelLangServiceProvider::class,
],

Artisan commands

To publish the config file, run this command:

$ php artisan vendor:publish --provider="Arcanedev\LaravelLang\LaravelLangServiceProvider"