PHPackages                             orthosie/theysaidso-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. orthosie/theysaidso-quotes

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

orthosie/theysaidso-quotes
==========================

A fluent PHP client for world famous They Said So quotes platform.

v1.0.0(1y ago)09PHP

Since Aug 15Pushed 1y ago1 watchersCompare

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

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

theysaidso-quotes
=================

[](#theysaidso-quotes)

A fluent php client library for They Said So quotes API. You can get the API key here. \[\]

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

[](#installation)

```
composer require orthosie/theysaidso-quotes

```

Get Quote of the day
--------------------

[](#get-quote-of-the-day)

```
use TheySaidSo\QuoteOfTheDay;
$qod = QuoteOfTheDay::withCredential('')->category('inspire')->get();

print "Quote of the day\n";
print $qod[0]['quote'] ." - " .  $qod[0]['author'] . "\n";

```

Get Random Quote
----------------

[](#get-random-quote)

Get a random quote

```
use TheySaidSo\Quotes;

$quotes = Quotes::withCredential()->random()->limit(1)->get();
print "A quote by " .  $quotes[0]['author'] . "\n";
print $quotes[0]['quote'] ."\n";

```

Search Quotes
-------------

[](#search-quotes)

Search for a quote from Steve Jobs that says something about design

```
use TheySaidSo\Quotes;

$quotes = Quotes::withCredential()->search('design')->author('Steve Jobs')->get();
print "A quote by " .  $quotes[0]['author'] . " on design\n";
print $quotes[0]['quote'] ."\n";

```

Full Options on search
----------------------

[](#full-options-on-search)

Here are the full options on search API.

```
use TheySaidSo\Quotes;

$quotes = Quotes::withCredential()
                 ->search('design')
                 ->author('Steve Jobs')
                 ->category('experience') // quote should have a tag 'experience'
                 ->minLength(10) // quote length should be > 10 characters
                 ->maxLength(512) // quote length should be < 512 characters
                 ->sfw(true) // Search only Safe for work quotes
                 ->private(false) // Search public quotes not quotes added by you
                 ->get();
print "A quote by " .  $quotes[0]['author'] . " on design\n";
print $quotes[0]['quote'] ."\n";

```

Rate Limit Numbers
------------------

[](#rate-limit-numbers)

After you make a call to the server you can get the rate limit numbers from the client library.

```
use TheySaidSo\Quotes;

$theysaidso = Quotes::withCredential();
$quotes =  $theysaidso->random()->limit(1)->get();

print "Total limit for this period " . $theysaidso->totalLimit() . "\n";
print "Limit remaining " . $theysaidso->limitRemaining() . "\n";

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

635d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11f091aceec3af30c1d1537ed5b23dc04be83da7f553b73313cc7f424778b1d6?d=identicon)[orthosie](/maintainers/orthosie)

---

Top Contributors

[![orthosie](https://avatars.githubusercontent.com/u/11280301?v=4)](https://github.com/orthosie "orthosie (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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