PHPackages                             douglas-spindola/laravel-inspiring-quotes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. douglas-spindola/laravel-inspiring-quotes

ActiveLibrary

douglas-spindola/laravel-inspiring-quotes
=========================================

Um pacote Laravel para fornecer citações inspiradoras

0.1.1(1y ago)1244MITPHP

Since Sep 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/douglas-espindola/laravel-motivational-quotes)[ Packagist](https://packagist.org/packages/douglas-spindola/laravel-inspiring-quotes)[ RSS](/packages/douglas-spindola-laravel-inspiring-quotes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel Motivational Quotes
===========================

[](#laravel-motivational-quotes)

A simple Laravel package that provides motivational and inspirational quotes for your application. Easily integrate meaningful quotes into your Laravel project, enhancing the user experience with wisdom and positivity.

[![g1](https://private-user-images.githubusercontent.com/48419906/364538888-3cd65491-632a-45e6-bbb3-632bb52d97b3.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ0MzU3MzcsIm5iZiI6MTc3NDQzNTQzNywicGF0aCI6Ii80ODQxOTkwNi8zNjQ1Mzg4ODgtM2NkNjU0OTEtNjMyYS00NWU2LWJiYjMtNjMyYmI1MmQ5N2IzLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI1VDEwNDM1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkNjllYTE2MDAyODQxYjE2NzFlZTkxNjVkZjQ1NjA1NTVhNTczYjZhYjI5YjZkNDMwMzExZjBhOTg3ZjIwODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Sp3Kua2RNe25zM2m1DJTxRPmoCNFSfKDixCw6JMrqWI)](https://private-user-images.githubusercontent.com/48419906/364538888-3cd65491-632a-45e6-bbb3-632bb52d97b3.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ0MzU3MzcsIm5iZiI6MTc3NDQzNTQzNywicGF0aCI6Ii80ODQxOTkwNi8zNjQ1Mzg4ODgtM2NkNjU0OTEtNjMyYS00NWU2LWJiYjMtNjMyYmI1MmQ5N2IzLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI1VDEwNDM1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkNjllYTE2MDAyODQxYjE2NzFlZTkxNjVkZjQ1NjA1NTVhNTczYjZhYjI5YjZkNDMwMzExZjBhOTg3ZjIwODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Sp3Kua2RNe25zM2m1DJTxRPmoCNFSfKDixCw6JMrqWI)

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require douglas-espindola/laravel-motivational-quotes
```

Usage
-----

[](#usage)

Once the package is installed, you can start using it by importing the `Inspiring` class and calling the `quoteInPortuguese` method:

```
use DouglasSpindola\LaravelInspiringQuotes\Inspiring;

$quote = Inspiring::quoteInPortuguese();
echo $quote;
```

Example with Inertia.js
-----------------------

[](#example-with-inertiajs)

If you're using Inertia.js, you can pass the quote to a frontend component like this:

```
Route::get('/dashboard', function () {
    return Inertia::render('Dashboard', [
        'quote' => Inspiring::quoteInPortuguese(),
    ]);
})->middleware(['auth', 'verified'])->name('dashboard');
```

And then in your `Dashboard` component:

```
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
import { Head } from '@inertiajs/react';
import Inspire from "@/Pages/Inspire.jsx";

export default function Dashboard({ auth, quote }) {
    return (

    );
}
```

Customization
-------------

[](#customization)

You can customize the package by adding your own quotes. Just modify the `quotes` method inside the `Inspiring` class and add your new quotes to the array. These quotes will then be randomly selected and displayed:

```
protected static function quotes()
{
    return Collection::make([
        'Your new custom quote here.',
        // Add more quotes here...
    ]);
}
```

Contribution
------------

[](#contribution)

Contributions are welcome! If you have suggestions or find any issues, feel free to open a pull request or submit an issue on the GitHub repository.

License
-------

[](#license)

This package is open-source software licensed under the MIT license.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cb7f58534b3ac9e39955724678a76be8ffc65d53f44c0a53dc3cf7015ce847e?d=identicon)[douglas15](/maintainers/douglas15)

---

Top Contributors

[![douglas-espindola](https://avatars.githubusercontent.com/u/48419906?v=4)](https://github.com/douglas-espindola "douglas-espindola (6 commits)")

### Embed Badge

![Health badge](/badges/douglas-spindola-laravel-inspiring-quotes/health.svg)

```
[![Health](https://phpackages.com/badges/douglas-spindola-laravel-inspiring-quotes/health.svg)](https://phpackages.com/packages/douglas-spindola-laravel-inspiring-quotes)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
