PHPackages                             voicut31/api\_generator - 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. voicut31/api\_generator

ActiveLibrary[API Development](/categories/api)

voicut31/api\_generator
=======================

API Generator

v0.3.0(1mo ago)07[1 PRs](https://github.com/voicut31/api_generator/pulls)MITPHPCI failing

Since Dec 6Pushed 1mo agoCompare

[ Source](https://github.com/voicut31/api_generator)[ Packagist](https://packagist.org/packages/voicut31/api_generator)[ RSS](/packages/voicut31-api-generator/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

API Generator
=============

[](#api-generator)

It's generate api endpoints based on database tables

Install
-------

[](#install)

### Install composer

[](#install-composer)

```
brew install composer

```

### Install packages

[](#install-packages)

```
composer install

```

Configure the aplication
------------------------

[](#configure-the-aplication)

Usage
-----

[](#usage)

```
...
use ApiGenerator\Generator;
$configuration = new \Doctrine\DBAL\Configuration();
$conn = \Doctrine\DBAL\DriverManager::getConnection($config['database'], $configuration);

...

$generator = new Generator($conn);
$generator->api($module, $id, $params);

```

### Available request methods

[](#available-request-methods)

'GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance94

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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

Every ~860 days

Total

3

Last Release

54d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23440567?v=4)[voicut31](/maintainers/voicut31)[@voicut31](https://github.com/voicut31)

---

Top Contributors

[![voicutibeabestit](https://avatars.githubusercontent.com/u/84022986?v=4)](https://github.com/voicutibeabestit "voicutibeabestit (4 commits)")[![voicut31](https://avatars.githubusercontent.com/u/23440567?v=4)](https://github.com/voicut31 "voicut31 (1 commits)")[![voicutibeaspyhce](https://avatars.githubusercontent.com/u/194381241?v=4)](https://github.com/voicutibeaspyhce "voicutibeaspyhce (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M647](/packages/sylius-sylius)[components-web-app/api-components-bundle

Creates a flexible API for a website's structure, reusable components and common functionality.

322.8k](/packages/components-web-app-api-components-bundle)

PHPackages © 2026

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