Skip to content

codetyme/inspire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspiring Quotes

Laravel best quotes package.

Requirements

PHP: ^7.3 or ^8.0
Laravel Framework

Quick Installation

composer require codetyme/inspire:"^1.0"

Configuration

Now, open the config/app.php file and scroll down to the providers array. In that array, there should be a section for the package service providers.

Add the following line of code in that section:

/*
 * Package Service Providers...
 */

Codetyme\Inspire\Providers\InspirationProvider::class,

How to use

In your controller

public static function Quotes(\Codetyme\Inspire\Inspire $inspire){
    return $inspire->justQuote();
}

License

The MIT License (MIT). Please see License File for more information.