PHPackages                             moezmissaoui/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. [API Development](/categories/api)
4. /
5. moezmissaoui/quotes

ActiveLibrary[API Development](/categories/api)

moezmissaoui/quotes
===================

Quotes is a simple package to generate a random quotes

v0.0.1-alpha(3y ago)026MITPHPPHP ^7.2.5 || ^8.0

Since Sep 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MoezMissaoui/quotes)[ Packagist](https://packagist.org/packages/moezmissaoui/quotes)[ Docs](https://github.com/MoezMissaoui/quotes)[ RSS](/packages/moezmissaoui-quotes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Quotes
======

[](#quotes)

This is a simple laravel package. It can be an exemple to learn how to create laravel package. This package called **quotes**. If someone installs this in their Laravel project, they'll receive a random inspirational quote upon visiting the **/quote/{mode?}** route. You'll get the quotes from the [zenquotes.io/api/random](https://zenquotes.io/api/random) API.

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

[](#installation)

Execute the following command to install the package:

```
    composer require MoezMissaoui/quotes

```

How to use
----------

[](#how-to-use)

```
    {base_url}/quote/{mode?}

```

There is 3 modes:

- *quotes* : Generate a JSON array of 50 random quotes on each request.
- *today* : Generate the quote of the day on each request.
- *random* : Generate a random quote on each request.
- *by default (/quote) \[mode param is not required\]* : It will be random mode.

Conclusion
----------

[](#conclusion)

I would like to thank you for trying my implementation for this simple package. I hope you've enjoyed it and have learned some useful stuff regarding Laravel custom package development. Although in real life, packages can be much more complicated than this, the ideas should be more or less the same. If you’re stuck somewhere, feel free to reach out on [LinkedIn](https://www.linkedin.com/in/moez-missaoui-a50204141/).

About
-----

[](#about)

### Requirements

[](#requirements)

- PHP 7.\* or newer
- guzzlehttp/guzzle ^7.5

### License

[](#license)

MIT

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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

Unknown

Total

1

Last Release

1325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e14787cd0ff0528b838349ae59e9c0deb42c3ae22dd344ef3a7d22ca8be0b36f?d=identicon)[Moez Missaoui](/maintainers/Moez%20Missaoui)

---

Top Contributors

[![MoezMissaoui](https://avatars.githubusercontent.com/u/45261256?v=4)](https://github.com/MoezMissaoui "MoezMissaoui (1 commits)")

---

Tags

laravel-packagequote-generatorapilaravelpackage

### Embed Badge

![Health badge](/badges/moezmissaoui-quotes/health.svg)

```
[![Health](https://phpackages.com/badges/moezmissaoui-quotes/health.svg)](https://phpackages.com/packages/moezmissaoui-quotes)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[bmatovu/laravel-mtn-momo

Laravel MTN MOMO integration.

14310.9k](/packages/bmatovu-laravel-mtn-momo)[gregoriohc/laravel-trello

A Laravel wrapper and facade package for the Trello API

3366.8k2](/packages/gregoriohc-laravel-trello)[vinelab/api-manager

Laravel API Manager Package - beatify and unify your responses with the least effort possible.

392.1k](/packages/vinelab-api-manager)

PHPackages © 2026

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