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.0CI failing

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 1w 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 30% 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

1692d 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.6k52.2M377](/packages/api-platform-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M777](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[api-platform/serializer

API Platform core Serializer

295.3M101](/packages/api-platform-serializer)[api-platform/validator

API Platform validator component

275.1M31](/packages/api-platform-validator)

PHPackages © 2026

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