Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 3.66 KB

1-Installation-and-Setup.md

File metadata and controls

70 lines (53 loc) · 3.66 KB

1. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Version Compatibility

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

Composer

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

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:

// config/app.php

'providers' => [
    ...
    Arcanedev\LaravelActive\LaravelActiveServiceProvider::class,
],

Artisan commands

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

php artisan vendor:publish --provider="Arcanedev\LaravelActive\LaravelActiveServiceProvider"