Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 3.94 KB

1-Installation-and-Setup.md

File metadata and controls

74 lines (58 loc) · 3.94 KB

2. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Version Compatibility

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

Note : This is a framework-agnostic package, so you can use any version of this package in your PHP project.

Composer

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

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\Gravatar\GravatarServiceProvider::class,
],

Artisan command

To publish the config file, run this command:

$ php artisan vendor:publish --provider="Arcanedev\Gravatar\GravatarServiceProvider"