PHPackages                             kapcus/classgenerator - 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. [Database &amp; ORM](/categories/database)
4. /
5. kapcus/classgenerator

ActiveLibrary[Database &amp; ORM](/categories/database)

kapcus/classgenerator
=====================

Class Generator of table classes by database structure

v0.1.3(7y ago)113MITPHPPHP &gt;=5.6

Since Aug 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kapcus/classgenerator)[ Packagist](https://packagist.org/packages/kapcus/classgenerator)[ RSS](/packages/kapcus-classgenerator/feed)WikiDiscussions master Synced 2w ago

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

ClassGenerator
==============

[](#classgenerator)

Simple tool for generating classes representing tables and views in given schema.

Currently supported databases:

- `ORACLE`

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

[](#installation)

1\] Install ClassGenerator with all necessary dependencies with

```
composer require kapcus/classgenerator

```

2\] Move [config.local.neon.example](misc/config.local.neon.example) into `classgenerator/config.local.neon` and setup classgenerator.database section, output directory and namespaces.

3\] run this to verify if ClassGenerator is properly installed and configured

```
php bin/console.php classgenerator:check

```

Usage
-----

[](#usage)

```
php bin/console.php classgenerator:generate

```

This command will generate all classes into `outputDirectory` with proper `classNamespace` and `datatypeNamespace`.

========================================

TODO
----

[](#todo)

- remove COLUMN\_EXCEPTIONS from Manager class
- remove $typeMapping from Manager class
- resolve abstract Table
- resolve DataTypes
- introduce kapcus/core and remove some classes

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

4

Last Release

2889d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/kapcus-classgenerator/health.svg)

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

###  Alternatives

[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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