PHPackages                             yoramdelangen/heartqoutes - 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. yoramdelangen/heartqoutes

AbandonedArchivedLibrary[API Development](/categories/api)

yoramdelangen/heartqoutes
=========================

API for getting random qoutes from Heartqoutes

v1.0.1(11y ago)012PHP

Since Mar 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/yoramdelangen/qoutes)[ Packagist](https://packagist.org/packages/yoramdelangen/heartqoutes)[ RSS](/packages/yoramdelangen-heartqoutes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Qoutes
======

[](#qoutes)

Get a qoute from iHeartqoutes.com through there API. This is wrapper for getting a qoute through the API of [iheartqoutes.com](http://iheartquotes.com/api).

Installing through composer
---------------------------

[](#installing-through-composer)

The recommanded way to install `qoutes` is through composer:

```
composer require yoramdelangen/qoutes

```

Or add it too the requirements

```
"yoramdelangen/heartqoutes" : "dev-master"

```

For stable version

```
"yoramdelangen/heartqoutes": "1.0.*"

```

Usage
-----

[](#usage)

The following options are implemented and direct from the `iheartqoutes` API:

```
max_lines: maximum number of lines in the quote.
min_lines: minimum number of lines in the quote.
max_characters: maximum number of characters in the quote.
min_characters: minimum number of characters in the quote.

```

These options can be set through the `__construct(array $options=[])`:

```
$options = [
    'max_lines' => 2,
    'max_characters' => 200
];
$qoute = new Qoutes\Qoute($options);

```

Or chain it through functions:

```
$qoute = new Qoutes\Qoute();
$qoute->maxLines(2)->minCharacters(40)->maxCharacters(255);

```

Get certain category or tagged qoute:

```
// get qoute from all sources
$qoute->get();

// get qoute from a source
$qoute->geeky();
$qoute->general();
$qoute->populair();
$qoute->religious();
$qoute->scifi();

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

4083d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b5ac6b4a4c4e5cda06be87ab10f3767b803244212907064c40e650fc97ac8af?d=identicon)[yoramdelangen](/maintainers/yoramdelangen)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yoramdelangen-heartqoutes/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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