PHPackages                             banki.ru/rick-and-morty-client - 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. banki.ru/rick-and-morty-client

ActiveLibrary[API Development](/categories/api)

banki.ru/rick-and-morty-client
==============================

An php 7.4 api client for https://rickandmortyapi.com/

125PHP

Since May 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Smarandii/RickAndMortyAPI-Client)[ Packagist](https://packagist.org/packages/banki.ru/rick-and-morty-client)[ RSS](/packages/bankiru-rick-and-morty-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

This repo is for synchornizing with pagckagist
==============================================

[](#this-repo-is-for-synchornizing-with-pagckagist)

Library for RickAndMortyAPI
===========================

[](#library-for-rickandmortyapi)

[API documentation](https://rickandmortyapi.com/documentation/)

How to install:
---------------

[](#how-to-install)

```
composer require banki.ru/rick-and-morty-client
```

How to use as a service container:
----------------------------------

[](#how-to-use-as-a-service-container)

Edit file services.yaml in you symfony project:

##### **`./config/services.yaml`**

[](#configservicesyaml)

```yaml RickAndMortyAPI\\: resource: '../vendor/banki.ru/rick-and-morty-client/src/' ``` Composer Requirements:
----------------------

[](#composer-requirements)

- symfony/http-client: 5.4.\*

Use Cases:
----------

[](#use-cases)

```
use RickAndMortyAPI\Api;

$api_client = new Api();

$character = $api_client->getCharacter(1);
echo $character->getName();

$characters = $api_client->getCharacters();
foreach ($characters as $character) {
    echo $character->getName();
}

$location = $api_client->getLocation(1);
echo $location->getName();

$locations = $api_client->getLocations()
foreach ($locations as $location) {
    echo $location->getName();
}
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3afcb88167d910b861ca82b7925f0dc3ec2f2fa0140347033a97954aef5c12c6?d=identicon)[Smarandii](/maintainers/Smarandii)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bankiru-rick-and-morty-client/health.svg)

```
[![Health](https://phpackages.com/badges/bankiru-rick-and-morty-client/health.svg)](https://phpackages.com/packages/bankiru-rick-and-morty-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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