PHPackages                             rfrommherz/api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. rfrommherz/api

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

rfrommherz/api
==============

Symfony api simplifier

1.0.0(4y ago)04MITPHPPHP &gt;=8.0

Since Dec 29Pushed 4y ago1 watchersCompare

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

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

Api Bundle
==========

[](#api-bundle)

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

[](#installation)

1. `composer req rfrommherz/api`
2. **config/bundles.php**: Add new bundle to bundles.php

```
Rf\ApiBundle\JwtBundle::class => ['dev' => true],
```

Usage
-----

[](#usage)

### ApiDto

[](#apidto)

ApiDto's can be used as parameters in your controllers. To enable the support for this, your class must extend ApiDto. Each ApiDto is passed to the symfony validator, which enables the support for validation annotations.

```
use Rf\ApiBundle\Dto\ApiDto;
use Symfony\Component\Validator\Constraints as Assert;

class Fetch extends ApiDto
{
    /**
     * @Assert\NotBlank
     * @Assert\Url
     * @var string
     */
    private string $repositoryUrl;
```

Arguments will be automatically resolved and can be passed as controller arguments.

```
public function index(Fetch $fetch): Response
{
    ...
}
```

```
curl --location --request GET 'http://localhost/fetch' \
--header 'Content-Type: application/json' \
--data-raw '{
    "repositoryUrl": "http://...",
}'
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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

1602d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0dc58cd374938338b3daabfc738308892b7d11e5fa5d22dbb3b6d02702c1c59?d=identicon)[rfrommherz](/maintainers/rfrommherz)

---

Top Contributors

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

---

Tags

apisymfonyrestsymfony5

### Embed Badge

![Health badge](/badges/rfrommherz-api/health.svg)

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

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[api-platform/serializer

API Platform core Serializer

223.4M31](/packages/api-platform-serializer)[api-platform/validator

API Platform validator component

223.2M10](/packages/api-platform-validator)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)

PHPackages © 2026

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