PHPackages                             defro/quotable-php - 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. defro/quotable-php

ActiveLibrary[API Development](/categories/api)

defro/quotable-php
==================

PHP library to request Quotable API.

1.0.0(3y ago)015MITPHPPHP &gt;=8.1

Since Nov 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/defro/quotable-php)[ Packagist](https://packagist.org/packages/defro/quotable-php)[ Docs](https://github.com/defro/quotable-php)[ RSS](/packages/defro-quotable-php/feed)WikiDiscussions main Synced today

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

Quotable API
============

[](#quotable-api)

[![Latest Version](https://camo.githubusercontent.com/ea60c6e2ff86c37ab2360c6e31042719c1724f19ee7c4d2eba85cfe6f5af5339/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f646566726f2f71756f7461626c652d7068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/defro/quotable-php/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/68556f9793f5176b70d98e54b5705b0cb42f9586448cf0a361a51a8341049fee/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646566726f2f71756f7461626c652d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/defro/quotable-php)[![SymfonyInsight](https://camo.githubusercontent.com/fcc23aef2b175e0eca74ac73e8d8102dd2ea7d55c21e8d556b70ac9fc6061241/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f34636637306434382d656638632d343964312d383432662d6430643039336435646636332f6d696e692e737667)](https://insight.symfony.com/projects/bb6b7848-7e7a-4e9f-a25b-397369caeef5)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9caf007b9ed104f57c1438120d0b5a0addd4fedc61ceea8b23682a0fac672608/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646566726f2f71756f7461626c652d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/defro/quotable-php/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a7a583bfc32c34a6d017b55a3d8a146b4650637e5badd9a5cedfeb0a4dbbc984/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646566726f2f71756f7461626c652d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/defro/quotable-php/?branch=master)[![StyleCI](https://camo.githubusercontent.com/dd5fdb6b5d1136e8aac2bd8a8adbe8faf6eb049121f83768874b779bca30355f/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3533343739393736302f736869656c643f6272616e63683d6d61696e)](https://styleci.io/repos/534799760)[![Total Downloads](https://camo.githubusercontent.com/8033a5ae8060004774145523a340db1e9acdb1680a3272156567cbe1bc150b1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646566726f2f71756f7461626c652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defro/quotable-php)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MSER6KJHQM9NS)

This package can get quotes and their authors using [Quotable](https://github.com/lukePeavey/quotable). Here's a quick example:

```
$client = new \GuzzleHttp\Client();
$quotable = new \Defro\Quotable\Api($client);
$random = $quotable
    ->getRandomQuote();

var_dump($random);
```

Documentation
-------------

[](#documentation)

Read how to install, use this package, customize it on [documentation page](https://defro.github.io/quotable-php/).

License
-------

[](#license)

The MIT License (MIT). Please see [license file](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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

1320d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25364?v=4)[Joël Gaujard](/maintainers/defro)[@defro](https://github.com/defro)

---

Top Contributors

[![defro](https://avatars.githubusercontent.com/u/25364?v=4)](https://github.com/defro "defro (11 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

apicitationquotequotableproverb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/defro-quotable-php/health.svg)

```
[![Health](https://phpackages.com/badges/defro-quotable-php/health.svg)](https://phpackages.com/packages/defro-quotable-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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