Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 4.31 KB

1-Installation-and-Setup.md

File metadata and controls

70 lines (53 loc) · 4.31 KB

2. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Version Compatibility

Hasher Laravel
Hasher v4.x Laravel v7.x
Hasher v3.x Laravel v6.x
Hasher v2.5.x Laravel v5.8
Hasher v2.4.x Laravel v5.7
Hasher v2.3.x Laravel v5.6
Hasher v2.2.x Laravel v5.5
Hasher v2.1.x Laravel v5.4
Hasher v2.0.x Laravel v5.0 Laravel v5.1 Laravel v5.2 Laravel v5.3

Composer

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

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\Hasher\HasherServiceProvider::class,
],

Artisan commands

To publish the config file, run this command:

php artisan vendor:publish --provider="Arcanedev\Hasher\HasherServiceProvider"